#9A1EA1#9A1EA1
#9A1EA1 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.210 H 325.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1EA1 |
|---|---|
| RGB | rgb(154, 30, 161) |
| HSL | hsl(297, 69%, 37%) |
| HSV | hsv(297, 81%, 63%) |
| CMYK | cmyk(4.3%, 81.4%, 0%, 36.9%) |
| CIE-LAB | lab(38.50, 63.57, -42.57) |
| CIE-LCH | lch(38.50, 76.50, 326.19°) |
| OKLab | oklab(49.79% 0.1738 -0.1186) |
| OKLCH | oklch(49.79% 0.21 325.7) |
| XYZ | xyz(20.2233, 10.3732, 34.6484) |
| Luminance | 0.1037 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.45
Warm Purple
#952E8F
ΔE00 3.77
Barney
#AC1DB8
ΔE00 4.48
Darkmagenta
#8B008B
ΔE00 5.07
Purple (survey)
#7E1E9C
ΔE00 5.50
Purply
#983FB2
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1EA1 #25A11E
analogous
#591EA1 #9A1EA1 #A11E66
triadic
#9A1EA1 #A19A1E #1EA19A
tetradic
#9A1EA1 #A1591E #25A11E #1E66A1
square
#9A1EA1 #A1591E #25A11E #1E66A1
split-complementary
#9A1EA1 #66A11E #1EA159
monochromatic
#370B3A #69146D #9A1EA1 #CB28D5 #D959E0
Accessibility & contrast
On white
6.83
#9A1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#9A1EA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A1EA1
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1EA1 | 1.00 | 6.83 | 3.07 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#3E609E
Tritanopia (blue-blind)
#9E3861
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9a1ea1; /* rgb */ color: rgb(154, 30, 161); /* oklch */ color: oklch(49.8% 0.210 325.7);
Tailwind
colors: {
custom: {
50: '#bc6bbd',
500: '#9a1ea1',
950: '#000000',
},
}SCSS
$custom: #9a1ea1; $custom-light: #bc6bbd; $custom-dark: #000000;
JSON
{
"hex": "#9a1ea1",
"rgb": {
"r": 154,
"g": 30,
"b": 161
},
"hsl": {
"h": 296.794,
"s": 68.586,
"l": 37.451
},
"oklch": {
"l": 0.4979,
"c": 0.21044,
"h": 325.7
},
"luminance": 0.10372
}Semantic roles & 50–950 ramp
primary
#9A1EA1
secondary
#5DC457
accent
#EB3C46
background
#FCF6FB
surface
#F8ECF7
border
#D1C7D0
text
#120812
muted
#817A81