#8E33AB#8E33AB
#8E33AB is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.4% C 0.192 H 316.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #8E33AB |
|---|---|
| RGB | rgb(142, 51, 171) |
| HSL | hsl(286, 54%, 44%) |
| HSV | hsv(286, 70%, 67%) |
| CMYK | cmyk(17%, 70.2%, 0%, 32.9%) |
| CIE-LAB | lab(39.68, 55.84, -46.78) |
| CIE-LCH | lch(39.68, 72.85, 320.05°) |
| OKLab | oklab(50.45% 0.1399 -0.1314) |
| OKLCH | oklch(50.45% 0.192 316.8) |
| XYZ | xyz(19.6887, 11.0595, 39.6178) |
| Luminance | 0.1106 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.43
Darkorchid
#9932CC
ΔE00 5.14
Barney
#AC1DB8
ΔE00 5.19
Purple (survey)
#7E1E9C
ΔE00 5.22
Warm Purple
#952E8F
ΔE00 5.92
Medium Purple
#9E43A2
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E33AB #50AB33
analogous
#5233AB #8E33AB #AB338C
triadic
#8E33AB #AB8E33 #33AB8E
tetradic
#8E33AB #AB5233 #50AB33 #338CAB
square
#8E33AB #AB5233 #50AB33 #338CAB
split-complementary
#8E33AB #8CAB33 #33AB52
monochromatic
#40174D #67257C #8E33AB #AD50CB #C37FD9
Accessibility & contrast
On white
6.54
#8E33AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#8E33AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E33AB
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E33AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E33AB | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#3560A8
Tritanopia (blue-blind)
#8C4B6B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8e33ab; /* rgb */ color: rgb(142, 51, 171); /* oklch */ color: oklch(50.4% 0.192 316.8);
Tailwind
colors: {
custom: {
50: '#b373c5',
500: '#8e33ab',
950: '#000000',
},
}SCSS
$custom: #8e33ab; $custom-light: #b373c5; $custom-dark: #000000;
JSON
{
"hex": "#8e33ab",
"rgb": {
"r": 142,
"g": 51,
"b": 171
},
"hsl": {
"h": 285.5,
"s": 54.054,
"l": 43.529
},
"oklch": {
"l": 0.50449,
"c": 0.19198,
"h": 316.8
},
"luminance": 0.11059
}Semantic roles & 50–950 ramp
primary
#8E33AB
secondary
#8AC278
accent
#DD4A6E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82