#8E3ACD#8E3ACD
#8E3ACD is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.6% C 0.216 H 306.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8E3ACD |
|---|---|
| RGB | rgb(142, 58, 205) |
| HSL | hsl(274, 60%, 52%) |
| HSV | hsv(274, 72%, 80%) |
| CMYK | cmyk(30.7%, 71.7%, 0%, 19.6%) |
| CIE-LAB | lab(43.04, 60.16, -61.30) |
| CIE-LCH | lch(43.04, 85.89, 314.46°) |
| OKLab | oklab(53.58% 0.1286 -0.1741) |
| OKLCH | oklch(53.58% 0.216 306.4) |
| XYZ | xyz(23.6854, 13.1849, 59.0429) |
| Luminance | 0.1318 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.09
Blueviolet
#8A2BE2
ΔE00 3.50
Violet (survey)
#9A0EEA
ΔE00 4.75
Darkviolet
#9400D3
ΔE00 4.96
Purply
#983FB2
ΔE00 5.36
Vibrant Purple
#AD03DE
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E3ACD #79CD3A
analogous
#453ACD #8E3ACD #CD3AC2
triadic
#8E3ACD #CD8E3A #3ACD8E
tetradic
#8E3ACD #CD453A #79CD3A #3AC2CD
square
#8E3ACD #CD453A #79CD3A #3AC2CD
split-complementary
#8E3ACD #C2CD3A #3ACD45
monochromatic
#4C1C70 #6D29A1 #8E3ACD #AA6BD9 #C69CE6
Accessibility & contrast
On white
5.77
#8E3ACD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#8E3ACD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E3ACD
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E3ACD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E3ACD | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#835D80
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8e3acd; /* rgb */ color: rgb(142, 58, 205); /* oklch */ color: oklch(53.6% 0.216 306.4);
Tailwind
colors: {
custom: {
50: '#b477dd',
500: '#8e3acd',
950: '#000000',
},
}SCSS
$custom: #8e3acd; $custom-light: #b477dd; $custom-dark: #000000;
JSON
{
"hex": "#8e3acd",
"rgb": {
"r": 142,
"g": 58,
"b": 205
},
"hsl": {
"h": 274.286,
"s": 59.514,
"l": 51.569
},
"oklch": {
"l": 0.53577,
"c": 0.21644,
"h": 306.4
},
"luminance": 0.13185
}Semantic roles & 50–950 ramp
primary
#8E3ACD
secondary
#ADD291
accent
#E34589
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83