#7F2FC9#7F2FC9
#7F2FC9 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.3% C 0.221 H 302.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2FC9 |
|---|---|
| RGB | rgb(127, 47, 201) |
| HSL | hsl(271, 62%, 49%) |
| HSV | hsv(271, 77%, 79%) |
| CMYK | cmyk(36.8%, 76.6%, 0%, 21.2%) |
| CIE-LAB | lab(39.18, 61.09, -65.35) |
| CIE-LCH | lch(39.18, 89.46, 313.07°) |
| OKLab | oklab(50.33% 0.1187 -0.1865) |
| OKLCH | oklch(50.33% 0.221 302.5) |
| XYZ | xyz(20.3090, 10.7621, 56.2544) |
| Luminance | 0.1076 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.61
Darkviolet
#9400D3
ΔE00 4.03
Darkorchid
#9932CC
ΔE00 4.88
Burple
#6832E3
ΔE00 5.04
Bluish Purple
#703BE7
ΔE00 5.37
Violet (survey)
#9A0EEA
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2FC9 #79C92F
analogous
#322FC9 #7F2FC9 #C92FC6
triadic
#7F2FC9 #C97F2F #2FC97F
tetradic
#7F2FC9 #C9322F #79C92F #2FC6C9
square
#7F2FC9 #C9322F #79C92F #2FC6C9
split-complementary
#7F2FC9 #C6C92F #2FC932
monochromatic
#401866 #602397 #7F2FC9 #9D5CD9 #BB8EE5
Accessibility & contrast
On white
6.66
#7F2FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#7F2FC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F2FC9
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2FC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2FC9 | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BCD
Deuteranopia (green-blind)
#005CC6
Tritanopia (blue-blind)
#6F577B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7f2fc9; /* rgb */ color: rgb(127, 47, 201); /* oklch */ color: oklch(50.3% 0.221 302.5);
Tailwind
colors: {
custom: {
50: '#ab70da',
500: '#7f2fc9',
950: '#000000',
},
}SCSS
$custom: #7f2fc9; $custom-light: #ab70da; $custom-dark: #000000;
JSON
{
"hex": "#7f2fc9",
"rgb": {
"r": 127,
"g": 47,
"b": 201
},
"hsl": {
"h": 271.169,
"s": 62.097,
"l": 48.627
},
"oklch": {
"l": 0.50335,
"c": 0.22107,
"h": 302.5
},
"luminance": 0.10762
}Semantic roles & 50–950 ramp
primary
#7F2FC9
secondary
#A8CF85
accent
#E54391
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83