#8E2AC3#8E2AC3
#8E2AC3 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.3% C 0.224 H 310.3°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2AC3 |
|---|---|
| RGB | rgb(142, 42, 195) |
| HSL | hsl(279, 65%, 46%) |
| HSV | hsv(279, 78%, 76%) |
| CMYK | cmyk(27.2%, 78.5%, 0%, 23.5%) |
| CIE-LAB | lab(40.16, 64.14, -60.16) |
| CIE-LCH | lch(40.16, 87.94, 316.83°) |
| OKLab | oklab(51.31% 0.1447 -0.1707) |
| OKLCH | oklch(51.31% 0.224 310.3) |
| XYZ | xyz(21.8317, 11.3473, 52.6594) |
| Luminance | 0.1135 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.93
Darkviolet
#9400D3
ΔE00 3.03
Blueviolet
#8A2BE2
ΔE00 4.48
Violet (survey)
#9A0EEA
ΔE00 5.11
Purply
#983FB2
ΔE00 5.45
Vibrant Purple
#AD03DE
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2AC3 #5FC32A
analogous
#422AC3 #8E2AC3 #C32AAC
triadic
#8E2AC3 #C38E2A #2AC38E
tetradic
#8E2AC3 #C3422A #5FC32A #2AACC3
square
#8E2AC3 #C3422A #5FC32A #2AACC3
split-complementary
#8E2AC3 #ACC32A #2AC342
monochromatic
#45145E #691F91 #8E2AC3 #AA51D9 #C383E4
Accessibility & contrast
On white
6.42
#8E2AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#8E2AC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E2AC3
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2AC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2AC3 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#865077
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8e2ac3; /* rgb */ color: rgb(142, 42, 195); /* oklch */ color: oklch(51.3% 0.224 310.3);
Tailwind
colors: {
custom: {
50: '#b470d6',
500: '#8e2ac3',
950: '#000000',
},
}SCSS
$custom: #8e2ac3; $custom-light: #b470d6; $custom-dark: #000000;
JSON
{
"hex": "#8e2ac3",
"rgb": {
"r": 142,
"g": 42,
"b": 195
},
"hsl": {
"h": 279.216,
"s": 64.557,
"l": 46.471
},
"oklch": {
"l": 0.51314,
"c": 0.22378,
"h": 310.3
},
"luminance": 0.11347
}Semantic roles & 50–950 ramp
primary
#8E2AC3
secondary
#98CD7B
accent
#E8407A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83