#8A33B4#8A33B4
#8A33B4 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.199 H 312.3°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #8A33B4 |
|---|---|
| RGB | rgb(138, 51, 180) |
| HSL | hsl(280, 56%, 45%) |
| HSV | hsv(280, 72%, 71%) |
| CMYK | cmyk(23.3%, 71.7%, 0%, 29.4%) |
| CIE-LAB | lab(39.69, 56.85, -52.13) |
| CIE-LCH | lch(39.69, 77.14, 317.48°) |
| OKLab | oklab(50.53% 0.1339 -0.1473) |
| OKLCH | oklch(50.53% 0.199 312.3) |
| XYZ | xyz(19.9018, 11.0668, 44.2589) |
| Luminance | 0.1107 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.12
Purply
#983FB2
ΔE00 4.17
Darkviolet
#9400D3
ΔE00 5.27
Purple (survey)
#7E1E9C
ΔE00 5.51
Barney
#AC1DB8
ΔE00 6.00
Blueviolet
#8A2BE2
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A33B4 #5DB433
analogous
#4933B4 #8A33B4 #B4339D
triadic
#8A33B4 #B48A33 #33B48A
tetradic
#8A33B4 #B44933 #5DB433 #339DB4
square
#8A33B4 #B44933 #5DB433 #339DB4
split-complementary
#8A33B4 #9DB433 #33B449
monochromatic
#411855 #652584 #8A33B4 #A755CF #C085DC
Accessibility & contrast
On white
6.54
#8A33B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#8A33B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A33B4
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A33B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A33B4 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#245FB1
Tritanopia (blue-blind)
#854F70
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8a33b4; /* rgb */ color: rgb(138, 51, 180); /* oklch */ color: oklch(50.5% 0.199 312.3);
Tailwind
colors: {
custom: {
50: '#b073cb',
500: '#8a33b4',
950: '#000000',
},
}SCSS
$custom: #8a33b4; $custom-light: #b073cb; $custom-dark: #000000;
JSON
{
"hex": "#8a33b4",
"rgb": {
"r": 138,
"g": 51,
"b": 180
},
"hsl": {
"h": 280.465,
"s": 55.844,
"l": 45.294
},
"oklch": {
"l": 0.50527,
"c": 0.19905,
"h": 312.3
},
"luminance": 0.11066
}Semantic roles & 50–950 ramp
primary
#8A33B4
secondary
#95C67D
accent
#DF497A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82