#8A33AA#8A33AA
#8A33AA is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.8% C 0.189 H 315.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8A33AA |
|---|---|
| RGB | rgb(138, 51, 170) |
| HSL | hsl(284, 54%, 43%) |
| HSV | hsv(284, 70%, 67%) |
| CMYK | cmyk(18.8%, 70%, 0%, 33.3%) |
| CIE-LAB | lab(39.03, 54.76, -47.27) |
| CIE-LCH | lch(39.03, 72.34, 319.20°) |
| OKLab | oklab(49.84% 0.1349 -0.133) |
| OKLCH | oklch(49.84% 0.189 315.4) |
| XYZ | xyz(18.9196, 10.6739, 39.0861) |
| Luminance | 0.1067 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.04
Purple (survey)
#7E1E9C
ΔE00 4.69
Darkorchid
#9932CC
ΔE00 5.44
Barney
#AC1DB8
ΔE00 5.90
Warm Purple
#952E8F
ΔE00 6.23
Darkviolet
#9400D3
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A33AA #53AA33
analogous
#4F33AA #8A33AA #AA338E
triadic
#8A33AA #AA8A33 #33AA8A
tetradic
#8A33AA #AA4F33 #53AA33 #338EAA
square
#8A33AA #AA4F33 #53AA33 #338EAA
split-complementary
#8A33AA #8EAA33 #33AA4F
monochromatic
#3E174C #64257B #8A33AA #A950CA #C07FD9
Accessibility & contrast
On white
6.70
#8A33AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#8A33AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A33AA
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A33AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A33AA | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#315EA7
Tritanopia (blue-blind)
#884B6B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #8a33aa; /* rgb */ color: rgb(138, 51, 170); /* oklch */ color: oklch(49.8% 0.189 315.4);
Tailwind
colors: {
custom: {
50: '#b072c4',
500: '#8a33aa',
950: '#000000',
},
}SCSS
$custom: #8a33aa; $custom-light: #b072c4; $custom-dark: #000000;
JSON
{
"hex": "#8a33aa",
"rgb": {
"r": 138,
"g": 51,
"b": 170
},
"hsl": {
"h": 283.866,
"s": 53.846,
"l": 43.333
},
"oklch": {
"l": 0.49839,
"c": 0.18947,
"h": 315.4
},
"luminance": 0.10673
}Semantic roles & 50–950 ramp
primary
#8A33AA
secondary
#8BC277
accent
#DD4B72
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82