#9A2EA2#9A2EA2
#9A2EA2 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.195 H 325.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2EA2 |
|---|---|
| RGB | rgb(154, 46, 162) |
| HSL | hsl(296, 56%, 41%) |
| HSV | hsv(296, 72%, 64%) |
| CMYK | cmyk(4.9%, 71.6%, 0%, 36.5%) |
| CIE-LAB | lab(40.30, 58.75, -40.30) |
| CIE-LCH | lch(40.30, 71.24, 325.55°) |
| OKLab | oklab(51.09% 0.1599 -0.1121) |
| OKLCH | oklch(51.09% 0.195 325) |
| XYZ | xyz(20.8245, 11.4340, 35.2855) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.41
Barney Purple
#A00498
ΔE00 3.85
Purply
#983FB2
ΔE00 4.06
Barney
#AC1DB8
ΔE00 4.07
Medium Purple
#9E43A2
ΔE00 4.24
Ugly Purple
#A442A0
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2EA2 #36A22E
analogous
#602EA2 #9A2EA2 #A22E70
triadic
#9A2EA2 #A29A2E #2EA29A
tetradic
#9A2EA2 #A2602E #36A22E #2E70A2
square
#9A2EA2 #A2602E #36A22E #2E70A2
split-complementary
#9A2EA2 #70A22E #2EA260
monochromatic
#3F1343 #6D2072 #9A2EA2 #C043CA #D073D7
Accessibility & contrast
On white
6.39
#9A2EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#9A2EA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2EA2
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2EA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2EA2 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D57A5
Deuteranopia (green-blind)
#45639F
Tritanopia (blue-blind)
#9D4165
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9a2ea2; /* rgb */ color: rgb(154, 46, 162); /* oklch */ color: oklch(51.1% 0.195 325.0);
Tailwind
colors: {
custom: {
50: '#bb71be',
500: '#9a2ea2',
950: '#000000',
},
}SCSS
$custom: #9a2ea2; $custom-light: #bb71be; $custom-dark: #000000;
JSON
{
"hex": "#9a2ea2",
"rgb": {
"r": 154,
"g": 46,
"b": 162
},
"hsl": {
"h": 295.862,
"s": 55.769,
"l": 40.784
},
"oklch": {
"l": 0.51089,
"c": 0.19532,
"h": 325
},
"luminance": 0.11433
}Semantic roles & 50–950 ramp
primary
#9A2EA2
secondary
#73BF6D
accent
#DF4953
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81