#9D1E82#9D1E82
#9D1E82 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.190 H 338.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1E82 |
|---|---|
| RGB | rgb(157, 30, 130) |
| HSL | hsl(313, 68%, 37%) |
| HSV | hsv(313, 81%, 62%) |
| CMYK | cmyk(0%, 80.9%, 17.2%, 38.4%) |
| CIE-LAB | lab(37.32, 59.42, -25.47) |
| CIE-LCH | lch(37.32, 64.65, 336.80°) |
| OKLab | oklab(48.49% 0.1766 -0.0691) |
| OKLCH | oklch(48.49% 0.19 338.6) |
| XYZ | xyz(18.3986, 9.7102, 22.0201) |
| Luminance | 0.0971 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.66
Barney Purple
#A00498
ΔE00 4.59
Red Violet
#9E0168
ΔE00 5.65
Darkmagenta
#8B008B
ΔE00 6.23
Light Eggplant
#894585
ΔE00 7.13
Purple
#800080
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1E82 #1E9D39
analogous
#791E9D #9D1E82 #9D1E43
triadic
#9D1E82 #829D1E #1E829D
tetradic
#9D1E82 #9D791E #1E9D39 #1E439D
square
#9D1E82 #9D791E #1E9D39 #1E439D
split-complementary
#9D1E82 #439D1E #1E9D79
monochromatic
#360A2D #6A1457 #9D1E82 #D028AD #DF57C2
Accessibility & contrast
On white
7.14
#9D1E82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#9D1E82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1E82
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1E82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1E82 | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264B85
Deuteranopia (green-blind)
#525F7F
Tritanopia (blue-blind)
#A6254F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9d1e82; /* rgb */ color: rgb(157, 30, 130); /* oklch */ color: oklch(48.5% 0.190 338.6);
Tailwind
colors: {
custom: {
50: '#be6aa6',
500: '#9d1e82',
950: '#000000',
},
}SCSS
$custom: #9d1e82; $custom-light: #be6aa6; $custom-dark: #000000;
JSON
{
"hex": "#9d1e82",
"rgb": {
"r": 157,
"g": 30,
"b": 130
},
"hsl": {
"h": 312.756,
"s": 67.914,
"l": 36.667
},
"oklch": {
"l": 0.48488,
"c": 0.18965,
"h": 338.6
},
"luminance": 0.09708
}Semantic roles & 50–950 ramp
primary
#9D1E82
secondary
#54C26C
accent
#EB623D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F