#9A2AA4#9A2AA4
#9A2AA4 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.201 H 324.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2AA4 |
|---|---|
| RGB | rgb(154, 42, 164) |
| HSL | hsl(295, 59%, 40%) |
| HSV | hsv(295, 74%, 64%) |
| CMYK | cmyk(6.1%, 74.4%, 0%, 35.7%) |
| CIE-LAB | lab(39.93, 60.50, -42.10) |
| CIE-LCH | lch(39.93, 73.71, 325.17°) |
| OKLab | oklab(50.86% 0.1637 -0.1173) |
| OKLCH | oklch(50.86% 0.201 324.4) |
| XYZ | xyz(20.8547, 11.2076, 36.1796) |
| Luminance | 0.1121 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 3.64
Warm Purple
#952E8F
ΔE00 3.80
Barney
#AC1DB8
ΔE00 3.84
Purply
#983FB2
ΔE00 4.22
Medium Purple
#9E43A2
ΔE00 4.87
Ugly Purple
#A442A0
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2AA4 #34A42A
analogous
#5D2AA4 #9A2AA4 #A42A71
triadic
#9A2AA4 #A49A2A #2AA49A
tetradic
#9A2AA4 #A45D2A #34A42A #2A71A4
square
#9A2AA4 #A45D2A #34A42A #2A71A4
split-complementary
#9A2AA4 #71A42A #2AA45D
monochromatic
#3E1143 #6C1E73 #9A2AA4 #C23ECD #D16EDA
Accessibility & contrast
On white
6.48
#9A2AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#9A2AA4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2AA4
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2AA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2AA4 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#4263A1
Tritanopia (blue-blind)
#9D4065
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9a2aa4; /* rgb */ color: rgb(154, 42, 164); /* oklch */ color: oklch(50.9% 0.201 324.4);
Tailwind
colors: {
custom: {
50: '#bb70bf',
500: '#9a2aa4',
950: '#000000',
},
}SCSS
$custom: #9a2aa4; $custom-light: #bb70bf; $custom-dark: #000000;
JSON
{
"hex": "#9a2aa4",
"rgb": {
"r": 154,
"g": 42,
"b": 164
},
"hsl": {
"h": 295.082,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.5086,
"c": 0.20144,
"h": 324.4
},
"luminance": 0.11206
}Semantic roles & 50–950 ramp
primary
#9A2AA4
secondary
#70C169
accent
#E24552
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81