#9A337D#9A337D
#9A337D is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.160 H 340.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9A337D |
|---|---|
| RGB | rgb(154, 51, 125) |
| HSL | hsl(317, 50%, 40%) |
| HSV | hsv(317, 67%, 60%) |
| CMYK | cmyk(0%, 66.9%, 18.8%, 39.6%) |
| CIE-LAB | lab(39.10, 50.74, -19.64) |
| CIE-LCH | lch(39.10, 54.40, 338.84°) |
| OKLab | oklab(49.61% 0.1511 -0.0528) |
| OKLCH | oklch(49.61% 0.16 340.7) |
| XYZ | xyz(18.2124, 10.7200, 20.5081) |
| Luminance | 0.1072 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.94
Light Eggplant
#894585
ΔE00 5.30
Red Violet
#9E0168
ΔE00 6.02
Bruise
#7E4071
ΔE00 6.19
Ugly Purple
#A442A0
ΔE00 7.22
Barney Purple
#A00498
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A337D #339A50
analogous
#83339A #9A337D #9A334A
triadic
#9A337D #7D9A33 #337D9A
tetradic
#9A337D #9A8333 #339A50 #334A9A
square
#9A337D #9A8333 #339A50 #334A9A
split-complementary
#9A337D #4A9A33 #339A83
monochromatic
#3E1532 #6C2458 #9A337D #C248A0 #D276B8
Accessibility & contrast
On white
6.68
#9A337D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#9A337D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A337D
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A337D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A337D | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A527F
Deuteranopia (green-blind)
#59627A
Tritanopia (blue-blind)
#A33553
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9a337d; /* rgb */ color: rgb(154, 51, 125); /* oklch */ color: oklch(49.6% 0.160 340.7);
Tailwind
colors: {
custom: {
50: '#bb72a2',
500: '#9a337d',
950: '#000000',
},
}SCSS
$custom: #9a337d; $custom-light: #bb72a2; $custom-dark: #000000;
JSON
{
"hex": "#9a337d",
"rgb": {
"r": 154,
"g": 51,
"b": 125
},
"hsl": {
"h": 316.893,
"s": 50.244,
"l": 40.196
},
"oklch": {
"l": 0.49609,
"c": 0.16008,
"h": 340.7
},
"luminance": 0.10718
}Semantic roles & 50–950 ramp
primary
#9A337D
secondary
#6FBA84
accent
#DA754E
background
#FBF7FA
surface
#F7EDF3
border
#D0C8CD
text
#12080F
muted
#817B7F