#9A2686#9A2686
#9A2686 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.8% C 0.183 H 336.0°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2686 |
|---|---|
| RGB | rgb(154, 38, 134) |
| HSL | hsl(310, 60%, 38%) |
| HSV | hsv(310, 75%, 60%) |
| CMYK | cmyk(0%, 75.3%, 13%, 39.6%) |
| CIE-LAB | lab(37.80, 56.92, -27.22) |
| CIE-LCH | lch(37.80, 63.09, 334.44°) |
| OKLab | oklab(48.8% 0.1669 -0.0742) |
| OKLCH | oklch(48.8% 0.183 336) |
| XYZ | xyz(18.3229, 9.9791, 23.5108) |
| Luminance | 0.0998 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.43
Barney Purple
#A00498
ΔE00 4.15
Darkmagenta
#8B008B
ΔE00 5.93
Light Eggplant
#894585
ΔE00 6.18
Red Violet
#9E0168
ΔE00 6.79
Ugly Purple
#A442A0
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2686 #269A3A
analogous
#74269A #9A2686 #9A264C
triadic
#9A2686 #869A26 #26869A
tetradic
#9A2686 #9A7426 #269A3A #264C9A
square
#9A2686 #9A7426 #269A3A #264C9A
split-complementary
#9A2686 #4C9A26 #269A74
monochromatic
#380E31 #691A5B #9A2686 #CB32B1 #D862C4
Accessibility & contrast
On white
7.01
#9A2686 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#9A2686 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2686
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2686 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2686 | 1.00 | 7.01 | 3.00 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284E89
Deuteranopia (green-blind)
#505F83
Tritanopia (blue-blind)
#A22F53
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9a2686; /* rgb */ color: rgb(154, 38, 134); /* oklch */ color: oklch(48.8% 0.183 336.0);
Tailwind
colors: {
custom: {
50: '#bb6da9',
500: '#9a2686',
950: '#000000',
},
}SCSS
$custom: #9a2686; $custom-light: #bb6da9; $custom-dark: #000000;
JSON
{
"hex": "#9a2686",
"rgb": {
"r": 154,
"g": 38,
"b": 134
},
"hsl": {
"h": 310.345,
"s": 60.417,
"l": 37.647
},
"oklch": {
"l": 0.48803,
"c": 0.18268,
"h": 336
},
"luminance": 0.09977
}Semantic roles & 50–950 ramp
primary
#9A2686
secondary
#5EBE6F
accent
#E46044
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F