#8E2FC9#8E2FC9
#8E2FC9 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.2% C 0.224 H 308.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2FC9 |
|---|---|
| RGB | rgb(142, 47, 201) |
| HSL | hsl(277, 62%, 49%) |
| HSV | hsv(277, 77%, 79%) |
| CMYK | cmyk(29.4%, 76.6%, 0%, 21.2%) |
| CIE-LAB | lab(41.22, 63.64, -61.94) |
| CIE-LCH | lch(41.22, 88.81, 315.78°) |
| OKLab | oklab(52.2% 0.1393 -0.1759) |
| OKLCH | oklch(52.2% 0.224 308.4) |
| XYZ | xyz(22.7123, 12.0012, 56.3670) |
| Luminance | 0.1200 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.25
Darkviolet
#9400D3
ΔE00 3.30
Blueviolet
#8A2BE2
ΔE00 3.53
Violet (survey)
#9A0EEA
ΔE00 4.44
Vibrant Purple
#AD03DE
ΔE00 5.21
Purply
#983FB2
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2FC9 #6AC92F
analogous
#412FC9 #8E2FC9 #C92FB7
triadic
#8E2FC9 #C98E2F #2FC98E
tetradic
#8E2FC9 #C9412F #6AC92F #2FB7C9
square
#8E2FC9 #C9412F #6AC92F #2FB7C9
split-complementary
#8E2FC9 #B7C92F #2FC941
monochromatic
#481866 #6B2397 #8E2FC9 #A95CD9 #C38EE5
Accessibility & contrast
On white
6.18
#8E2FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#8E2FC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E2FC9
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2FC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2FC9 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ECD
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#85557B
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8e2fc9; /* rgb */ color: rgb(142, 47, 201); /* oklch */ color: oklch(52.2% 0.224 308.4);
Tailwind
colors: {
custom: {
50: '#b472da',
500: '#8e2fc9',
950: '#000000',
},
}SCSS
$custom: #8e2fc9; $custom-light: #b472da; $custom-dark: #000000;
JSON
{
"hex": "#8e2fc9",
"rgb": {
"r": 142,
"g": 47,
"b": 201
},
"hsl": {
"h": 277.013,
"s": 62.097,
"l": 48.627
},
"oklch": {
"l": 0.52198,
"c": 0.22443,
"h": 308.4
},
"luminance": 0.12001
}Semantic roles & 50–950 ramp
primary
#8E2FC9
secondary
#A1CF85
accent
#E54381
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83