#8A33A9#8A33A9
#8A33A9 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.189 H 315.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8A33A9 |
|---|---|
| RGB | rgb(138, 51, 169) |
| HSL | hsl(284, 54%, 43%) |
| HSV | hsv(284, 70%, 66%) |
| CMYK | cmyk(18.3%, 69.8%, 0%, 33.7%) |
| CIE-LAB | lab(38.96, 54.55, -46.78) |
| CIE-LCH | lch(38.96, 71.86, 319.39°) |
| OKLab | oklab(49.77% 0.135 -0.1316) |
| OKLCH | oklch(49.77% 0.189 315.7) |
| XYZ | xyz(18.8254, 10.6362, 38.5898) |
| Luminance | 0.1064 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.06
Purple (survey)
#7E1E9C
ΔE00 4.64
Darkorchid
#9932CC
ΔE00 5.58
Barney
#AC1DB8
ΔE00 5.92
Warm Purple
#952E8F
ΔE00 6.07
Barney Purple
#A00498
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A33A9 #52A933
analogous
#4F33A9 #8A33A9 #A9338D
triadic
#8A33A9 #A98A33 #33A98A
tetradic
#8A33A9 #A94F33 #52A933 #338DA9
square
#8A33A9 #A94F33 #52A933 #338DA9
split-complementary
#8A33A9 #8DA933 #33A94F
monochromatic
#3D174B #64257A #8A33A9 #AA4FCA #C17ED8
Accessibility & contrast
On white
6.72
#8A33A9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#8A33A9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A33A9
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A33A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A33A9 | 1.00 | 6.72 | 3.13 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#325EA6
Tritanopia (blue-blind)
#884B6A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #8a33a9; /* rgb */ color: rgb(138, 51, 169); /* oklch */ color: oklch(49.8% 0.189 315.7);
Tailwind
colors: {
custom: {
50: '#b072c3',
500: '#8a33a9',
950: '#000000',
},
}SCSS
$custom: #8a33a9; $custom-light: #b072c3; $custom-dark: #000000;
JSON
{
"hex": "#8a33a9",
"rgb": {
"r": 138,
"g": 51,
"b": 169
},
"hsl": {
"h": 284.237,
"s": 53.636,
"l": 43.137
},
"oklch": {
"l": 0.49772,
"c": 0.18852,
"h": 315.7
},
"luminance": 0.10635
}Semantic roles & 50–950 ramp
primary
#8A33A9
secondary
#8AC177
accent
#DD4B71
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81