#9A33AA#9A33AA
#9A33AA is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.1% C 0.196 H 322.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9A33AA |
|---|---|
| RGB | rgb(154, 51, 170) |
| HSL | hsl(292, 54%, 43%) |
| HSV | hsv(292, 70%, 67%) |
| CMYK | cmyk(9.4%, 70%, 0%, 33.3%) |
| CIE-LAB | lab(41.44, 58.31, -43.27) |
| CIE-LCH | lch(41.44, 72.61, 323.43°) |
| OKLab | oklab(52.05% 0.1546 -0.1208) |
| OKLCH | oklch(52.05% 0.196 322) |
| XYZ | xyz(21.7652, 12.1411, 39.2195) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.54
Barney
#AC1DB8
ΔE00 3.45
Medium Purple
#9E43A2
ΔE00 3.98
Warm Purple
#952E8F
ΔE00 4.89
Ugly Purple
#A442A0
ΔE00 4.96
Barney Purple
#A00498
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A33AA #43AA33
analogous
#5E33AA #9A33AA #AA337E
triadic
#9A33AA #AA9A33 #33AA9A
tetradic
#9A33AA #AA5E33 #43AA33 #337EAA
square
#9A33AA #AA5E33 #43AA33 #337EAA
split-complementary
#9A33AA #7EAA33 #33AA5E
monochromatic
#45174C #6F257B #9A33AA #BA50CA #CC7FD9
Accessibility & contrast
On white
6.13
#9A33AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#9A33AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A33AA
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A33AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A33AA | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#065AAD
Deuteranopia (green-blind)
#4366A7
Tritanopia (blue-blind)
#9C486B
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #9a33aa; /* rgb */ color: rgb(154, 51, 170); /* oklch */ color: oklch(52.1% 0.196 322.0);
Tailwind
colors: {
custom: {
50: '#bb74c4',
500: '#9a33aa',
950: '#000000',
},
}SCSS
$custom: #9a33aa; $custom-light: #bb74c4; $custom-dark: #000000;
JSON
{
"hex": "#9a33aa",
"rgb": {
"r": 154,
"g": 51,
"b": 170
},
"hsl": {
"h": 291.933,
"s": 53.846,
"l": 43.333
},
"oklch": {
"l": 0.52055,
"c": 0.19617,
"h": 322
},
"luminance": 0.1214
}Semantic roles & 50–950 ramp
primary
#9A33AA
secondary
#81C277
accent
#DD4B5E
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82