#9A3AAA#9A3AAA
#9A3AAA is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.8% C 0.187 H 321.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9A3AAA |
|---|---|
| RGB | rgb(154, 58, 170) |
| HSL | hsl(291, 49%, 45%) |
| HSV | hsv(291, 66%, 67%) |
| CMYK | cmyk(9.4%, 65.9%, 0%, 33.3%) |
| CIE-LAB | lab(42.46, 55.45, -41.64) |
| CIE-LCH | lch(42.46, 69.35, 323.10°) |
| OKLab | oklab(52.79% 0.1468 -0.1161) |
| OKLCH | oklch(52.79% 0.187 321.7) |
| XYZ | xyz(22.0944, 12.7996, 39.3292) |
| Luminance | 0.1280 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.79
Medium Purple
#9E43A2
ΔE00 3.00
Barney
#AC1DB8
ΔE00 3.98
Ugly Purple
#A442A0
ΔE00 4.13
Warm Purple
#952E8F
ΔE00 5.24
Darkorchid
#9932CC
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A3AAA #4AAA3A
analogous
#623AAA #9A3AAA #AA3A82
triadic
#9A3AAA #AA9A3A #3AAA9A
tetradic
#9A3AAA #AA623A #4AAA3A #3A82AA
square
#9A3AAA #AA623A #4AAA3A #3A82AA
split-complementary
#9A3AAA #82AA3A #3AAA62
monochromatic
#471B4F #712A7C #9A3AAA #B75AC7 #CB88D6
Accessibility & contrast
On white
5.90
#9A3AAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#9A3AAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A3AAA
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A3AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A3AAA | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C5DAD
Deuteranopia (green-blind)
#4768A7
Tritanopia (blue-blind)
#9C4D6D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #9a3aaa; /* rgb */ color: rgb(154, 58, 170); /* oklch */ color: oklch(52.8% 0.187 321.7);
Tailwind
colors: {
custom: {
50: '#bb77c4',
500: '#9a3aaa',
950: '#000000',
},
}SCSS
$custom: #9a3aaa; $custom-light: #bb77c4; $custom-dark: #000000;
JSON
{
"hex": "#9a3aaa",
"rgb": {
"r": 154,
"g": 58,
"b": 170
},
"hsl": {
"h": 291.429,
"s": 49.123,
"l": 44.706
},
"oklch": {
"l": 0.52789,
"c": 0.18719,
"h": 321.7
},
"luminance": 0.12798
}Semantic roles & 50–950 ramp
primary
#9A3AAA
secondary
#89C17F
accent
#D94F63
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82