#8A33B1#8A33B1
#8A33B1 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.196 H 313.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8A33B1 |
|---|---|
| RGB | rgb(138, 51, 177) |
| HSL | hsl(281, 55%, 45%) |
| HSV | hsv(281, 71%, 69%) |
| CMYK | cmyk(22%, 71.2%, 0%, 30.6%) |
| CIE-LAB | lab(39.49, 56.22, -50.68) |
| CIE-LCH | lch(39.49, 75.69, 317.96°) |
| OKLab | oklab(50.32% 0.1343 -0.143) |
| OKLCH | oklch(50.32% 0.196 313.2) |
| XYZ | xyz(19.5995, 10.9458, 42.6668) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.07
Darkorchid
#9932CC
ΔE00 4.49
Purple (survey)
#7E1E9C
ΔE00 5.22
Darkviolet
#9400D3
ΔE00 5.62
Barney
#AC1DB8
ΔE00 5.93
Blueviolet
#8A2BE2
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A33B1 #5AB133
analogous
#4B33B1 #8A33B1 #B13399
triadic
#8A33B1 #B18A33 #33B18A
tetradic
#8A33B1 #B14B33 #5AB133 #3399B1
square
#8A33B1 #B14B33 #5AB133 #3399B1
split-complementary
#8A33B1 #99B133 #33B14B
monochromatic
#401852 #652581 #8A33B1 #A854CE #C083DB
Accessibility & contrast
On white
6.59
#8A33B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#8A33B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A33B1
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A33B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A33B1 | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#285FAE
Tritanopia (blue-blind)
#864E6F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8a33b1; /* rgb */ color: rgb(138, 51, 177); /* oklch */ color: oklch(50.3% 0.196 313.2);
Tailwind
colors: {
custom: {
50: '#b072c9',
500: '#8a33b1',
950: '#000000',
},
}SCSS
$custom: #8a33b1; $custom-light: #b072c9; $custom-dark: #000000;
JSON
{
"hex": "#8a33b1",
"rgb": {
"r": 138,
"g": 51,
"b": 177
},
"hsl": {
"h": 281.429,
"s": 55.263,
"l": 44.706
},
"oklch": {
"l": 0.50318,
"c": 0.19617,
"h": 313.2
},
"luminance": 0.10945
}Semantic roles & 50–950 ramp
primary
#8A33B1
secondary
#92C57B
accent
#DF4977
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82