#9D1A9F#9D1A9F
#9D1A9F is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.213 H 327.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1A9F |
|---|---|
| RGB | rgb(157, 26, 159) |
| HSL | hsl(299, 72%, 36%) |
| HSV | hsv(299, 84%, 62%) |
| CMYK | cmyk(1.3%, 83.6%, 0%, 37.6%) |
| CIE-LAB | lab(38.57, 64.79, -41.23) |
| CIE-LCH | lch(38.57, 76.79, 327.53°) |
| OKLab | oklab(49.9% 0.1799 -0.1146) |
| OKLCH | oklch(49.9% 0.213 327.5) |
| XYZ | xyz(20.5317, 10.4116, 33.7224) |
| Luminance | 0.1041 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.78
Warm Purple
#952E8F
ΔE00 3.54
Barney
#AC1DB8
ΔE00 4.56
Darkmagenta
#8B008B
ΔE00 5.02
Purple (survey)
#7E1E9C
ΔE00 6.06
Purply
#983FB2
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1A9F #1C9F1A
analogous
#5B1A9F #9D1A9F #9F1A5F
triadic
#9D1A9F #9F9D1A #1A9F9D
tetradic
#9D1A9F #9F5B1A #1C9F1A #1A5F9F
square
#9D1A9F #9F5B1A #1C9F1A #1A5F9F
split-complementary
#9D1A9F #5F9F1A #1A9F5B
monochromatic
#350936 #69116A #9D1A9F #D123D4 #E051E3
Accessibility & contrast
On white
6.81
#9D1A9F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#9D1A9F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D1A9F
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1A9F | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#42609C
Tritanopia (blue-blind)
#A2345F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9d1a9f; /* rgb */ color: rgb(157, 26, 159); /* oklch */ color: oklch(49.9% 0.213 327.5);
Tailwind
colors: {
custom: {
50: '#be6abc',
500: '#9d1a9f',
950: '#000000',
},
}SCSS
$custom: #9d1a9f; $custom-light: #be6abc; $custom-dark: #000000;
JSON
{
"hex": "#9d1a9f",
"rgb": {
"r": 157,
"g": 26,
"b": 159
},
"hsl": {
"h": 299.098,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.49897,
"c": 0.21331,
"h": 327.5
},
"luminance": 0.1041
}Semantic roles & 50–950 ramp
primary
#9D1A9F
secondary
#51C550
accent
#EF393C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81