#8E39BB#8E39BB
#8E39BB is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.2% C 0.200 H 311.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #8E39BB |
|---|---|
| RGB | rgb(142, 57, 187) |
| HSL | hsl(279, 53%, 48%) |
| HSV | hsv(279, 70%, 73%) |
| CMYK | cmyk(24.1%, 69.5%, 0%, 26.7%) |
| CIE-LAB | lab(41.63, 56.63, -53.09) |
| CIE-LCH | lch(41.63, 77.63, 316.85°) |
| OKLab | oklab(52.18% 0.1321 -0.15) |
| OKLCH | oklch(52.18% 0.2 311.4) |
| XYZ | xyz(21.5864, 12.2654, 48.2344) |
| Luminance | 0.1226 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.82
Purply
#983FB2
ΔE00 3.30
Darkviolet
#9400D3
ΔE00 5.46
Barney
#AC1DB8
ΔE00 5.73
Blueviolet
#8A2BE2
ΔE00 5.83
Vibrant Purple
#AD03DE
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E39BB #66BB39
analogous
#4D39BB #8E39BB #BB39A7
triadic
#8E39BB #BB8E39 #39BB8E
tetradic
#8E39BB #BB4D39 #66BB39 #39A7BB
square
#8E39BB #BB4D39 #66BB39 #39A7BB
split-complementary
#8E39BB #A7BB39 #39BB4D
monochromatic
#471C5D #6A2B8C #8E39BB #A962CF #C391DD
Accessibility & contrast
On white
6.08
#8E39BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#8E39BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E39BB
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E39BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E39BB | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#2864B8
Tritanopia (blue-blind)
#885576
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8e39bb; /* rgb */ color: rgb(142, 57, 187); /* oklch */ color: oklch(52.2% 0.200 311.4);
Tailwind
colors: {
custom: {
50: '#b376d0',
500: '#8e39bb',
950: '#000000',
},
}SCSS
$custom: #8e39bb; $custom-light: #b376d0; $custom-dark: #000000;
JSON
{
"hex": "#8e39bb",
"rgb": {
"r": 142,
"g": 57,
"b": 187
},
"hsl": {
"h": 279.231,
"s": 53.279,
"l": 47.843
},
"oklch": {
"l": 0.5218,
"c": 0.19984,
"h": 311.4
},
"luminance": 0.12265
}Semantic roles & 50–950 ramp
primary
#8E39BB
secondary
#9EC887
accent
#DD4B7E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82