#7E2FC9#7E2FC9
#7E2FC9 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.2% C 0.221 H 302.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2FC9 |
|---|---|
| RGB | rgb(126, 47, 201) |
| HSL | hsl(271, 62%, 49%) |
| HSV | hsv(271, 77%, 79%) |
| CMYK | cmyk(37.3%, 76.6%, 0%, 21.2%) |
| CIE-LAB | lab(39.05, 60.92, -65.57) |
| CIE-LCH | lch(39.05, 89.50, 312.90°) |
| OKLab | oklab(50.22% 0.1173 -0.1871) |
| OKLCH | oklch(50.22% 0.221 302.1) |
| XYZ | xyz(20.1608, 10.6856, 56.2474) |
| Luminance | 0.1069 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.68
Darkviolet
#9400D3
ΔE00 4.13
Burple
#6832E3
ΔE00 4.92
Darkorchid
#9932CC
ΔE00 5.05
Bluish Purple
#703BE7
ΔE00 5.31
Bluey Purple
#6241C7
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2FC9 #7AC92F
analogous
#312FC9 #7E2FC9 #C92FC7
triadic
#7E2FC9 #C97E2F #2FC97E
tetradic
#7E2FC9 #C9312F #7AC92F #2FC7C9
square
#7E2FC9 #C9312F #7AC92F #2FC7C9
split-complementary
#7E2FC9 #C7C92F #2FC931
monochromatic
#401866 #5F2397 #7E2FC9 #9C5CD9 #BA8EE5
Accessibility & contrast
On white
6.69
#7E2FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#7E2FC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E2FC9
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2FC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2FC9 | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BCD
Deuteranopia (green-blind)
#005BC6
Tritanopia (blue-blind)
#6E577B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7e2fc9; /* rgb */ color: rgb(126, 47, 201); /* oklch */ color: oklch(50.2% 0.221 302.1);
Tailwind
colors: {
custom: {
50: '#aa70da',
500: '#7e2fc9',
950: '#000000',
},
}SCSS
$custom: #7e2fc9; $custom-light: #aa70da; $custom-dark: #000000;
JSON
{
"hex": "#7e2fc9",
"rgb": {
"r": 126,
"g": 47,
"b": 201
},
"hsl": {
"h": 270.779,
"s": 62.097,
"l": 48.627
},
"oklch": {
"l": 0.50215,
"c": 0.22089,
"h": 302.1
},
"luminance": 0.10686
}Semantic roles & 50–950 ramp
primary
#7E2FC9
secondary
#A9CF85
accent
#E54392
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83