#9A1D82#9A1D82
#9A1D82 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.189 H 337.5°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1D82 |
|---|---|
| RGB | rgb(154, 29, 130) |
| HSL | hsl(312, 68%, 36%) |
| HSV | hsv(312, 81%, 60%) |
| CMYK | cmyk(0%, 81.2%, 15.6%, 39.6%) |
| CIE-LAB | lab(36.67, 59.00, -26.52) |
| CIE-LCH | lch(36.67, 64.69, 335.80°) |
| OKLab | oklab(47.92% 0.1745 -0.0722) |
| OKLCH | oklch(47.92% 0.189 337.5) |
| XYZ | xyz(17.7955, 9.3622, 21.9847) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.41
Barney Purple
#A00498
ΔE00 4.29
Darkmagenta
#8B008B
ΔE00 5.55
Red Violet
#9E0168
ΔE00 5.90
Purple
#800080
ΔE00 6.83
Light Eggplant
#894585
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1D82 #1D9A35
analogous
#731D9A #9A1D82 #9A1D43
triadic
#9A1D82 #829A1D #1D829A
tetradic
#9A1D82 #9A731D #1D9A35 #1D439A
square
#9A1D82 #9A731D #1D9A35 #1D439A
split-complementary
#9A1D82 #439A1D #1D9A73
monochromatic
#330A2B #661357 #9A1D82 #CE27AD #DF53C4
Accessibility & contrast
On white
7.31
#9A1D82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#9A1D82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A1D82
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1D82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1D82 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234A85
Deuteranopia (green-blind)
#4F5D7F
Tritanopia (blue-blind)
#A3264F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9a1d82; /* rgb */ color: rgb(154, 29, 130); /* oklch */ color: oklch(47.9% 0.189 337.5);
Tailwind
colors: {
custom: {
50: '#bc69a6',
500: '#9a1d82',
950: '#000000',
},
}SCSS
$custom: #9a1d82; $custom-light: #bc69a6; $custom-dark: #000000;
JSON
{
"hex": "#9a1d82",
"rgb": {
"r": 154,
"g": 29,
"b": 130
},
"hsl": {
"h": 311.52,
"s": 68.306,
"l": 35.882
},
"oklch": {
"l": 0.47923,
"c": 0.18887,
"h": 337.5
},
"luminance": 0.0936
}Semantic roles & 50–950 ramp
primary
#9A1D82
secondary
#51C267
accent
#EB5E3D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F