#7F00FF color codes
- HEX
- #7F00FF
- HEX8
- #7F00FFFF
- HEX8 (Android)
- #FF7F00FF
- RGB
- rgb(127, 0, 255)
- RGB (%)
- 50%, 0%, 100%
- HSL
- hsl(270, 100%, 50%)
- HSV / HSB
- hsv(270, 100%, 100%)
- CMYK
- cmyk(50%, 100%, 0%, 0%)
- OKLCH
- oklch(0.5294 0.2931 293.61)
- OKLCH (%)
- oklch(52.94% 0.2931 293.61)
- Decimal
- 8323327
What color is #7F00FF?
#7F00FF sits at 53% lightness and 0.2931 chroma in OKLCH, hue 293.61°. Its nearest named color is BlueViolet.
Shades and tints of #7F00FF
Tints
Shades
Tones
#7F00FF color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Square
Monochromatic
Using #7F00FF in CSS
.text { color: #7F00FF; }
.background { background-color: #7F00FF; }
.border { border: 2px solid #7F00FF; }
/* Modern, perceptually uniform */
.text { color: oklch(0.5294 0.2931 293.61); }
/* #7F00FF at 50% transparency */
.overlay { background-color: #7F00FF80; }Is #7F00FF accessible?
#7F00FF on white text scores 6.28:1; on black text it scores 3.35:1. White text passes WCAG AA for normal text on #7F00FF. Recommended text color on a #7F00FF background: white.
A 3.35:1 vs black
A 6.28:1 vs white
- AA normal ≥ 4.5 Pass
- AA large ≥ 3 Pass
- AAA normal ≥ 7 Fail
- AAA large ≥ 4.5 Pass
Recommended text color: white
CSS
contrast-color() contrast-color(#7F00FF) → white APCA Lc experimental 83.8 Lc · body text (white text)
WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.
Related colors
Nearest featured color: Purple #800080. See more in the purple family on the colors hub.
Frequently asked questions
- What color is #7F00FF?
- #7F00FF is closest to BlueViolet. In RGB it is rgb(127, 0, 255), and in HSL hsl(270, 100%, 50%).
- What is #7F00FF in RGB?
- #7F00FF converts to rgb(127, 0, 255) — red 127, green 0, blue 255.
- What text color is readable on #7F00FF?
- White text — it has the higher contrast ratio (6.28:1) against #7F00FF. White text passes WCAG AA for normal text on #7F00FF.