#9A2EA1#9A2EA1
#9A2EA1 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.194 H 325.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2EA1 |
|---|---|
| RGB | rgb(154, 46, 161) |
| HSL | hsl(296, 56%, 41%) |
| HSV | hsv(296, 71%, 63%) |
| CMYK | cmyk(4.3%, 71.4%, 0%, 36.9%) |
| CIE-LAB | lab(40.24, 58.57, -39.80) |
| CIE-LCH | lch(40.24, 70.81, 325.81°) |
| OKLab | oklab(51.03% 0.16 -0.1106) |
| OKLCH | oklch(51.03% 0.194 325.3) |
| XYZ | xyz(20.7360, 11.3986, 34.8193) |
| Luminance | 0.1140 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.24
Barney Purple
#A00498
ΔE00 3.76
Barney
#AC1DB8
ΔE00 4.19
Purply
#983FB2
ΔE00 4.19
Medium Purple
#9E43A2
ΔE00 4.21
Ugly Purple
#A442A0
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2EA1 #35A12E
analogous
#602EA1 #9A2EA1 #A12E6E
triadic
#9A2EA1 #A19A2E #2EA19A
tetradic
#9A2EA1 #A1602E #35A12E #2E6EA1
square
#9A2EA1 #A1602E #35A12E #2E6EA1
split-complementary
#9A2EA1 #6EA12E #2EA160
monochromatic
#3F1342 #6C2071 #9A2EA1 #C143C9 #D173D7
Accessibility & contrast
On white
6.40
#9A2EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#9A2EA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2EA1
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2EA1 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F56A4
Deuteranopia (green-blind)
#46639E
Tritanopia (blue-blind)
#9E4164
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9a2ea1; /* rgb */ color: rgb(154, 46, 161); /* oklch */ color: oklch(51.0% 0.194 325.3);
Tailwind
colors: {
custom: {
50: '#bb71bd',
500: '#9a2ea1',
950: '#000000',
},
}SCSS
$custom: #9a2ea1; $custom-light: #bb71bd; $custom-dark: #000000;
JSON
{
"hex": "#9a2ea1",
"rgb": {
"r": 154,
"g": 46,
"b": 161
},
"hsl": {
"h": 296.348,
"s": 55.556,
"l": 40.588
},
"oklch": {
"l": 0.51028,
"c": 0.19449,
"h": 325.3
},
"luminance": 0.11397
}Semantic roles & 50–950 ramp
primary
#9A2EA1
secondary
#71BE6C
accent
#DF4952
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81