#8E3BB9#8E3BB9
#8E3BB9 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.3% C 0.195 H 311.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8E3BB9 |
|---|---|
| RGB | rgb(142, 59, 185) |
| HSL | hsl(280, 52%, 48%) |
| HSV | hsv(280, 68%, 73%) |
| CMYK | cmyk(23.2%, 68.1%, 0%, 27.5%) |
| CIE-LAB | lab(41.82, 55.32, -51.62) |
| CIE-LCH | lch(41.82, 75.67, 316.98°) |
| OKLab | oklab(52.27% 0.1301 -0.1457) |
| OKLCH | oklch(52.27% 0.195 311.8) |
| XYZ | xyz(21.4746, 12.3820, 47.1483) |
| Luminance | 0.1238 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.93
Darkorchid
#9932CC
ΔE00 3.10
Barney
#AC1DB8
ΔE00 5.74
Darkviolet
#9400D3
ΔE00 5.92
Blueviolet
#8A2BE2
ΔE00 6.24
Medium Purple
#9E43A2
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E3BB9 #66B93B
analogous
#4F3BB9 #8E3BB9 #B93BA5
triadic
#8E3BB9 #B98E3B #3BB98E
tetradic
#8E3BB9 #B94F3B #66B93B #3BA5B9
square
#8E3BB9 #B94F3B #66B93B #3BA5B9
split-complementary
#8E3BB9 #A5B93B #3BB94F
monochromatic
#471D5C #6A2C8B #8E3BB9 #A964CD #C392DC
Accessibility & contrast
On white
6.04
#8E3BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#8E3BB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E3BB9
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E3BB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E3BB9 | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#2D64B6
Tritanopia (blue-blind)
#895575
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8e3bb9; /* rgb */ color: rgb(142, 59, 185); /* oklch */ color: oklch(52.3% 0.195 311.8);
Tailwind
colors: {
custom: {
50: '#b377cf',
500: '#8e3bb9',
950: '#000000',
},
}SCSS
$custom: #8e3bb9; $custom-light: #b377cf; $custom-dark: #000000;
JSON
{
"hex": "#8e3bb9",
"rgb": {
"r": 142,
"g": 59,
"b": 185
},
"hsl": {
"h": 279.524,
"s": 51.639,
"l": 47.843
},
"oklch": {
"l": 0.52268,
"c": 0.19533,
"h": 311.8
},
"luminance": 0.12381
}Semantic roles & 50–950 ramp
primary
#8E3BB9
secondary
#9EC788
accent
#DB4D7D
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82