#8E2CC2#8E2CC2
#8E2CC2 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.4% C 0.221 H 310.4°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2CC2 |
|---|---|
| RGB | rgb(142, 44, 194) |
| HSL | hsl(279, 63%, 47%) |
| HSV | hsv(279, 77%, 76%) |
| CMYK | cmyk(26.8%, 77.3%, 0%, 23.9%) |
| CIE-LAB | lab(40.32, 63.25, -59.31) |
| CIE-LCH | lch(40.32, 86.70, 316.84°) |
| OKLab | oklab(51.41% 0.1433 -0.1682) |
| OKLCH | oklch(51.41% 0.221 310.4) |
| XYZ | xyz(21.7917, 11.4477, 52.0901) |
| Luminance | 0.1145 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.80
Darkviolet
#9400D3
ΔE00 3.30
Blueviolet
#8A2BE2
ΔE00 4.58
Purply
#983FB2
ΔE00 5.19
Violet (survey)
#9A0EEA
ΔE00 5.26
Vibrant Purple
#AD03DE
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2CC2 #60C22C
analogous
#432CC2 #8E2CC2 #C22CAB
triadic
#8E2CC2 #C28E2C #2CC28E
tetradic
#8E2CC2 #C2432C #60C22C #2CABC2
square
#8E2CC2 #C2432C #60C22C #2CABC2
split-complementary
#8E2CC2 #ABC22C #2CC243
monochromatic
#45155E #692190 #8E2CC2 #AA53D8 #C385E3
Accessibility & contrast
On white
6.38
#8E2CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#8E2CC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E2CC2
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2CC2 | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#875176
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8e2cc2; /* rgb */ color: rgb(142, 44, 194); /* oklch */ color: oklch(51.4% 0.221 310.4);
Tailwind
colors: {
custom: {
50: '#b470d5',
500: '#8e2cc2',
950: '#000000',
},
}SCSS
$custom: #8e2cc2; $custom-light: #b470d5; $custom-dark: #000000;
JSON
{
"hex": "#8e2cc2",
"rgb": {
"r": 142,
"g": 44,
"b": 194
},
"hsl": {
"h": 279.2,
"s": 63.025,
"l": 46.667
},
"oklch": {
"l": 0.51407,
"c": 0.22096,
"h": 310.4
},
"luminance": 0.11447
}Semantic roles & 50–950 ramp
primary
#8E2CC2
secondary
#99CD7D
accent
#E6427B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83