#8A33A6#8A33A6
#8A33A6 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.6% C 0.186 H 316.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #8A33A6 |
|---|---|
| RGB | rgb(138, 51, 166) |
| HSL | hsl(285, 53%, 43%) |
| HSV | hsv(285, 69%, 65%) |
| CMYK | cmyk(16.9%, 69.3%, 0%, 34.9%) |
| CIE-LAB | lab(38.77, 53.94, -45.29) |
| CIE-LCH | lch(38.77, 70.43, 319.98°) |
| OKLab | oklab(49.57% 0.1353 -0.1272) |
| OKLCH | oklch(49.57% 0.186 316.8) |
| XYZ | xyz(18.5470, 10.5248, 37.1235) |
| Luminance | 0.1052 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.17
Purple (survey)
#7E1E9C
ΔE00 4.52
Warm Purple
#952E8F
ΔE00 5.60
Barney
#AC1DB8
ΔE00 5.99
Darkorchid
#9932CC
ΔE00 6.03
Barney Purple
#A00498
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A33A6 #4FA633
analogous
#5033A6 #8A33A6 #A63389
triadic
#8A33A6 #A68A33 #33A68A
tetradic
#8A33A6 #A65033 #4FA633 #3389A6
square
#8A33A6 #A65033 #4FA633 #3389A6
split-complementary
#8A33A6 #89A633 #33A650
monochromatic
#3C1648 #632577 #8A33A6 #AB4EC9 #C17CD7
Accessibility & contrast
On white
6.76
#8A33A6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#8A33A6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A33A6
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A33A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A33A6 | 1.00 | 6.76 | 3.10 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#345EA3
Tritanopia (blue-blind)
#894969
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8a33a6; /* rgb */ color: rgb(138, 51, 166); /* oklch */ color: oklch(49.6% 0.186 316.8);
Tailwind
colors: {
custom: {
50: '#b072c1',
500: '#8a33a6',
950: '#000000',
},
}SCSS
$custom: #8a33a6; $custom-light: #b072c1; $custom-dark: #000000;
JSON
{
"hex": "#8a33a6",
"rgb": {
"r": 138,
"g": 51,
"b": 166
},
"hsl": {
"h": 285.391,
"s": 52.995,
"l": 42.549
},
"oklch": {
"l": 0.49573,
"c": 0.18567,
"h": 316.8
},
"luminance": 0.10524
}Semantic roles & 50–950 ramp
primary
#8A33A6
secondary
#87C075
accent
#DC4B6F
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81