#8A33B5#8A33B5
#8A33B5 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.6% C 0.200 H 312.0°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #8A33B5 |
|---|---|
| RGB | rgb(138, 51, 181) |
| HSL | hsl(280, 56%, 45%) |
| HSV | hsv(280, 72%, 71%) |
| CMYK | cmyk(23.8%, 71.8%, 0%, 29%) |
| CIE-LAB | lab(39.76, 57.06, -52.61) |
| CIE-LCH | lch(39.76, 77.62, 317.33°) |
| OKLab | oklab(50.6% 0.1338 -0.1487) |
| OKLCH | oklch(50.6% 0.2 312) |
| XYZ | xyz(20.0040, 11.1077, 44.7973) |
| Luminance | 0.1111 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.00
Purply
#983FB2
ΔE00 4.21
Darkviolet
#9400D3
ΔE00 5.16
Purple (survey)
#7E1E9C
ΔE00 5.61
Barney
#AC1DB8
ΔE00 6.03
Blueviolet
#8A2BE2
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A33B5 #5EB533
analogous
#4933B5 #8A33B5 #B5339F
triadic
#8A33B5 #B58A33 #33B58A
tetradic
#8A33B5 #B54933 #5EB533 #339FB5
square
#8A33B5 #B54933 #5EB533 #339FB5
split-complementary
#8A33B5 #9FB533 #33B549
monochromatic
#411856 #662685 #8A33B5 #A756CF #C086DD
Accessibility & contrast
On white
6.52
#8A33B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#8A33B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A33B5
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A33B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A33B5 | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#235FB2
Tritanopia (blue-blind)
#854F71
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8a33b5; /* rgb */ color: rgb(138, 51, 181); /* oklch */ color: oklch(50.6% 0.200 312.0);
Tailwind
colors: {
custom: {
50: '#b073cc',
500: '#8a33b5',
950: '#000000',
},
}SCSS
$custom: #8a33b5; $custom-light: #b073cc; $custom-dark: #000000;
JSON
{
"hex": "#8a33b5",
"rgb": {
"r": 138,
"g": 51,
"b": 181
},
"hsl": {
"h": 280.154,
"s": 56.034,
"l": 45.49
},
"oklch": {
"l": 0.50598,
"c": 0.20001,
"h": 312
},
"luminance": 0.11107
}Semantic roles & 50–950 ramp
primary
#8A33B5
secondary
#96C67D
accent
#DF487A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82