#9A2AA2#9A2AA2
#9A2AA2 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.7% C 0.200 H 325.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2AA2 |
|---|---|
| RGB | rgb(154, 42, 162) |
| HSL | hsl(296, 59%, 40%) |
| HSV | hsv(296, 74%, 64%) |
| CMYK | cmyk(4.9%, 74.1%, 0%, 36.5%) |
| CIE-LAB | lab(39.81, 60.15, -41.09) |
| CIE-LCH | lch(39.81, 72.85, 325.66°) |
| OKLab | oklab(50.74% 0.1638 -0.1144) |
| OKLCH | oklch(50.74% 0.2 325.1) |
| XYZ | xyz(20.6755, 11.1359, 35.2359) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 3.41
Warm Purple
#952E8F
ΔE00 3.45
Barney
#AC1DB8
ΔE00 4.06
Purply
#983FB2
ΔE00 4.45
Medium Purple
#9E43A2
ΔE00 4.81
Ugly Purple
#A442A0
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2AA2 #32A22A
analogous
#5E2AA2 #9A2AA2 #A22A6E
triadic
#9A2AA2 #A29A2A #2AA29A
tetradic
#9A2AA2 #A25E2A #32A22A #2A6EA2
square
#9A2AA2 #A25E2A #32A22A #2A6EA2
split-complementary
#9A2AA2 #6EA22A #2AA25E
monochromatic
#3E1141 #6C1D71 #9A2AA2 #C33DCD #D26DD9
Accessibility & contrast
On white
6.51
#9A2AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#9A2AA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2AA2
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2AA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2AA2 | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#43629F
Tritanopia (blue-blind)
#9D3F64
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9a2aa2; /* rgb */ color: rgb(154, 42, 162); /* oklch */ color: oklch(50.7% 0.200 325.1);
Tailwind
colors: {
custom: {
50: '#bb70be',
500: '#9a2aa2',
950: '#000000',
},
}SCSS
$custom: #9a2aa2; $custom-light: #bb70be; $custom-dark: #000000;
JSON
{
"hex": "#9a2aa2",
"rgb": {
"r": 154,
"g": 42,
"b": 162
},
"hsl": {
"h": 296,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.50736,
"c": 0.19981,
"h": 325.1
},
"luminance": 0.11135
}Semantic roles & 50–950 ramp
primary
#9A2AA2
secondary
#6EC068
accent
#E24650
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81