#9A1E83#9A1E83
#9A1E83 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.0% C 0.189 H 337.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1E83 |
|---|---|
| RGB | rgb(154, 30, 131) |
| HSL | hsl(311, 67%, 36%) |
| HSV | hsv(311, 81%, 60%) |
| CMYK | cmyk(0%, 80.5%, 14.9%, 39.6%) |
| CIE-LAB | lab(36.82, 58.88, -26.91) |
| CIE-LCH | lch(36.82, 64.74, 335.44°) |
| OKLab | oklab(48.04% 0.1738 -0.0733) |
| OKLCH | oklch(48.04% 0.189 337.1) |
| XYZ | xyz(17.8878, 9.4390, 22.3482) |
| Luminance | 0.0944 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.21
Barney Purple
#A00498
ΔE00 4.14
Darkmagenta
#8B008B
ΔE00 5.49
Red Violet
#9E0168
ΔE00 6.10
Purple
#800080
ΔE00 6.83
Light Eggplant
#894585
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1E83 #1E9A35
analogous
#731E9A #9A1E83 #9A1E45
triadic
#9A1E83 #839A1E #1E839A
tetradic
#9A1E83 #9A731E #1E9A35 #1E459A
square
#9A1E83 #9A731E #1E9A35 #1E459A
split-complementary
#9A1E83 #459A1E #1E9A73
monochromatic
#340A2C #671457 #9A1E83 #CD28AF #DE55C4
Accessibility & contrast
On white
7.27
#9A1E83 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#9A1E83 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A1E83
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1E83 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1E83 | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224B86
Deuteranopia (green-blind)
#4F5D80
Tritanopia (blue-blind)
#A32750
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9a1e83; /* rgb */ color: rgb(154, 30, 131); /* oklch */ color: oklch(48.0% 0.189 337.1);
Tailwind
colors: {
custom: {
50: '#bc6aa7',
500: '#9a1e83',
950: '#000000',
},
}SCSS
$custom: #9a1e83; $custom-light: #bc6aa7; $custom-dark: #000000;
JSON
{
"hex": "#9a1e83",
"rgb": {
"r": 154,
"g": 30,
"b": 131
},
"hsl": {
"h": 311.129,
"s": 67.391,
"l": 36.078
},
"oklch": {
"l": 0.48043,
"c": 0.18864,
"h": 337.1
},
"luminance": 0.09437
}Semantic roles & 50–950 ramp
primary
#9A1E83
secondary
#53C167
accent
#EA5E3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F