#9A1E7E#9A1E7E
#9A1E7E is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.8% C 0.185 H 339.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1E7E |
|---|---|
| RGB | rgb(154, 30, 126) |
| HSL | hsl(314, 67%, 36%) |
| HSV | hsv(314, 81%, 60%) |
| CMYK | cmyk(0%, 80.5%, 18.2%, 39.6%) |
| CIE-LAB | lab(36.57, 58.17, -24.19) |
| CIE-LCH | lch(36.57, 63.00, 337.42°) |
| OKLab | oklab(47.78% 0.1733 -0.0655) |
| OKLCH | oklch(47.78% 0.185 339.3) |
| XYZ | xyz(17.5571, 9.3067, 20.6064) |
| Luminance | 0.0930 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.10
Red Violet
#9E0168
ΔE00 5.10
Barney Purple
#A00498
ΔE00 5.15
Darkmagenta
#8B008B
ΔE00 6.23
Light Eggplant
#894585
ΔE00 7.18
Purple
#800080
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1E7E #1E9A3A
analogous
#781E9A #9A1E7E #9A1E40
triadic
#9A1E7E #7E9A1E #1E7E9A
tetradic
#9A1E7E #9A781E #1E9A3A #1E409A
square
#9A1E7E #9A781E #1E9A3A #1E409A
split-complementary
#9A1E7E #409A1E #1E9A78
monochromatic
#340A2A #671454 #9A1E7E #CD28A8 #DE55BF
Accessibility & contrast
On white
7.34
#9A1E7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#9A1E7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A1E7E
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1E7E | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274A80
Deuteranopia (green-blind)
#515D7B
Tritanopia (blue-blind)
#A3244D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9a1e7e; /* rgb */ color: rgb(154, 30, 126); /* oklch */ color: oklch(47.8% 0.185 339.3);
Tailwind
colors: {
custom: {
50: '#bc69a3',
500: '#9a1e7e',
950: '#000000',
},
}SCSS
$custom: #9a1e7e; $custom-light: #bc69a3; $custom-dark: #000000;
JSON
{
"hex": "#9a1e7e",
"rgb": {
"r": 154,
"g": 30,
"b": 126
},
"hsl": {
"h": 313.548,
"s": 67.391,
"l": 36.078
},
"oklch": {
"l": 0.47784,
"c": 0.1853,
"h": 339.3
},
"luminance": 0.09305
}Semantic roles & 50–950 ramp
primary
#9A1E7E
secondary
#53C16C
accent
#EA653E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F