#8E39CF#8E39CF
#8E39CF is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.6% C 0.220 H 306.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8E39CF |
|---|---|
| RGB | rgb(142, 57, 207) |
| HSL | hsl(274, 61%, 52%) |
| HSV | hsv(274, 72%, 81%) |
| CMYK | cmyk(31.4%, 72.5%, 0%, 18.8%) |
| CIE-LAB | lab(43.04, 61.03, -62.46) |
| CIE-LCH | lch(43.04, 87.32, 314.34°) |
| OKLab | oklab(53.62% 0.1292 -0.1775) |
| OKLCH | oklch(53.62% 0.22 306) |
| XYZ | xyz(23.8785, 13.1822, 60.3059) |
| Luminance | 0.1318 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.15
Blueviolet
#8A2BE2
ΔE00 3.20
Violet (survey)
#9A0EEA
ΔE00 4.48
Darkviolet
#9400D3
ΔE00 4.81
Vibrant Purple
#AD03DE
ΔE00 5.34
Purply
#983FB2
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E39CF #7ACF39
analogous
#4339CF #8E39CF #CF39C5
triadic
#8E39CF #CF8E39 #39CF8E
tetradic
#8E39CF #CF4339 #7ACF39 #39C5CF
square
#8E39CF #CF4339 #7ACF39 #39C5CF
split-complementary
#8E39CF #C5CF39 #39CF43
monochromatic
#4D1C72 #6E28A3 #8E39CF #AA6ADB #C69CE7
Accessibility & contrast
On white
5.77
#8E39CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#8E39CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E39CF
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E39CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E39CF | 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)
#0063D3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#825D81
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8e39cf; /* rgb */ color: rgb(142, 57, 207); /* oklch */ color: oklch(53.6% 0.220 306.0);
Tailwind
colors: {
custom: {
50: '#b477df',
500: '#8e39cf',
950: '#000000',
},
}SCSS
$custom: #8e39cf; $custom-light: #b477df; $custom-dark: #000000;
JSON
{
"hex": "#8e39cf",
"rgb": {
"r": 142,
"g": 57,
"b": 207
},
"hsl": {
"h": 274,
"s": 60.976,
"l": 51.765
},
"oklch": {
"l": 0.5362,
"c": 0.21955,
"h": 306
},
"luminance": 0.13182
}Semantic roles & 50–950 ramp
primary
#8E39CF
secondary
#AED391
accent
#E44489
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83