#9A2082#9A2082
#9A2082 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.1% C 0.186 H 337.6°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2082 |
|---|---|
| RGB | rgb(154, 32, 130) |
| HSL | hsl(312, 66%, 36%) |
| HSV | hsv(312, 79%, 60%) |
| CMYK | cmyk(0%, 79.2%, 15.6%, 39.6%) |
| CIE-LAB | lab(36.96, 58.18, -26.07) |
| CIE-LCH | lch(36.96, 63.75, 335.86°) |
| OKLab | oklab(48.13% 0.1721 -0.0709) |
| OKLCH | oklch(48.13% 0.186 337.6) |
| XYZ | xyz(17.8726, 9.5165, 22.0104) |
| Luminance | 0.0951 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.31
Barney Purple
#A00498
ΔE00 4.45
Darkmagenta
#8B008B
ΔE00 5.81
Red Violet
#9E0168
ΔE00 5.92
Light Eggplant
#894585
ΔE00 6.85
Purple
#800080
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2082 #209A38
analogous
#75209A #9A2082 #9A2045
triadic
#9A2082 #829A20 #20829A
tetradic
#9A2082 #9A7520 #209A38 #20459A
square
#9A2082 #9A7520 #209A38 #20459A
split-complementary
#9A2082 #459A20 #209A75
monochromatic
#350B2C #671557 #9A2082 #CD2BAD #DC58C2
Accessibility & contrast
On white
7.23
#9A2082 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#9A2082 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A2082
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2082 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2082 | 1.00 | 7.23 | 2.90 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254B85
Deuteranopia (green-blind)
#505E7F
Tritanopia (blue-blind)
#A32850
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9a2082; /* rgb */ color: rgb(154, 32, 130); /* oklch */ color: oklch(48.1% 0.186 337.6);
Tailwind
colors: {
custom: {
50: '#bc6aa6',
500: '#9a2082',
950: '#000000',
},
}SCSS
$custom: #9a2082; $custom-light: #bc6aa6; $custom-dark: #000000;
JSON
{
"hex": "#9a2082",
"rgb": {
"r": 154,
"g": 32,
"b": 130
},
"hsl": {
"h": 311.803,
"s": 65.591,
"l": 36.471
},
"oklch": {
"l": 0.4813,
"c": 0.18609,
"h": 337.6
},
"luminance": 0.09515
}Semantic roles & 50–950 ramp
primary
#9A2082
secondary
#56C06B
accent
#E9613F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F