#8A33A7#8A33A7
#8A33A7 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.6% C 0.187 H 316.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #8A33A7 |
|---|---|
| RGB | rgb(138, 51, 167) |
| HSL | hsl(285, 53%, 43%) |
| HSV | hsv(285, 69%, 65%) |
| CMYK | cmyk(17.4%, 69.5%, 0%, 34.5%) |
| CIE-LAB | lab(38.83, 54.14, -45.79) |
| CIE-LCH | lch(38.83, 70.91, 319.78°) |
| OKLab | oklab(49.64% 0.1352 -0.1287) |
| OKLCH | oklch(49.64% 0.187 316.4) |
| XYZ | xyz(18.6390, 10.5617, 37.6085) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.13
Purple (survey)
#7E1E9C
ΔE00 4.55
Warm Purple
#952E8F
ΔE00 5.76
Darkorchid
#9932CC
ΔE00 5.88
Barney
#AC1DB8
ΔE00 5.96
Barney Purple
#A00498
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A33A7 #50A733
analogous
#5033A7 #8A33A7 #A7338A
triadic
#8A33A7 #A78A33 #33A78A
tetradic
#8A33A7 #A75033 #50A733 #338AA7
square
#8A33A7 #A75033 #50A733 #338AA7
split-complementary
#8A33A7 #8AA733 #33A750
monochromatic
#3D1649 #632578 #8A33A7 #AA4EC9 #C17DD7
Accessibility & contrast
On white
6.75
#8A33A7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#8A33A7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A33A7
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A33A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A33A7 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#345EA4
Tritanopia (blue-blind)
#884A69
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8a33a7; /* rgb */ color: rgb(138, 51, 167); /* oklch */ color: oklch(49.6% 0.187 316.4);
Tailwind
colors: {
custom: {
50: '#b072c2',
500: '#8a33a7',
950: '#000000',
},
}SCSS
$custom: #8a33a7; $custom-light: #b072c2; $custom-dark: #000000;
JSON
{
"hex": "#8a33a7",
"rgb": {
"r": 138,
"g": 51,
"b": 167
},
"hsl": {
"h": 285,
"s": 53.211,
"l": 42.745
},
"oklch": {
"l": 0.49639,
"c": 0.18662,
"h": 316.4
},
"luminance": 0.10561
}Semantic roles & 50–950 ramp
primary
#8A33A7
secondary
#88C076
accent
#DD4B70
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81