#8A33AB#8A33AB
#8A33AB is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.9% C 0.190 H 315.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #8A33AB |
|---|---|
| RGB | rgb(138, 51, 171) |
| HSL | hsl(284, 54%, 44%) |
| HSV | hsv(284, 70%, 67%) |
| CMYK | cmyk(19.3%, 70.2%, 0%, 32.9%) |
| CIE-LAB | lab(39.09, 54.97, -47.76) |
| CIE-LCH | lch(39.09, 72.82, 319.01°) |
| OKLab | oklab(49.91% 0.1349 -0.1344) |
| OKLCH | oklch(49.91% 0.19 315.1) |
| XYZ | xyz(19.0146, 10.7119, 39.5862) |
| Luminance | 0.1071 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.03
Purple (survey)
#7E1E9C
ΔE00 4.75
Darkorchid
#9932CC
ΔE00 5.30
Barney
#AC1DB8
ΔE00 5.89
Warm Purple
#952E8F
ΔE00 6.39
Darkviolet
#9400D3
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A33AB #54AB33
analogous
#4E33AB #8A33AB #AB3390
triadic
#8A33AB #AB8A33 #33AB8A
tetradic
#8A33AB #AB4E33 #54AB33 #3390AB
square
#8A33AB #AB4E33 #54AB33 #3390AB
split-complementary
#8A33AB #90AB33 #33AB4E
monochromatic
#3E174D #64257C #8A33AB #A950CB #C07FD9
Accessibility & contrast
On white
6.68
#8A33AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#8A33AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A33AB
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A33AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A33AB | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#305EA8
Tritanopia (blue-blind)
#874B6B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #8a33ab; /* rgb */ color: rgb(138, 51, 171); /* oklch */ color: oklch(49.9% 0.190 315.1);
Tailwind
colors: {
custom: {
50: '#b072c5',
500: '#8a33ab',
950: '#000000',
},
}SCSS
$custom: #8a33ab; $custom-light: #b072c5; $custom-dark: #000000;
JSON
{
"hex": "#8a33ab",
"rgb": {
"r": 138,
"g": 51,
"b": 171
},
"hsl": {
"h": 283.5,
"s": 54.054,
"l": 43.529
},
"oklch": {
"l": 0.49907,
"c": 0.19043,
"h": 315.1
},
"luminance": 0.10711
}Semantic roles & 50–950 ramp
primary
#8A33AB
secondary
#8CC278
accent
#DD4A73
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82