#9A337A#9A337A
#9A337A is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.158 H 342.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9A337A |
|---|---|
| RGB | rgb(154, 51, 122) |
| HSL | hsl(319, 50%, 40%) |
| HSV | hsv(319, 67%, 60%) |
| CMYK | cmyk(0%, 66.9%, 20.8%, 39.6%) |
| CIE-LAB | lab(38.98, 50.30, -17.98) |
| CIE-LCH | lch(38.98, 53.41, 340.33°) |
| OKLab | oklab(49.47% 0.1505 -0.0481) |
| OKLCH | oklch(49.47% 0.158 342.3) |
| XYZ | xyz(18.0236, 10.6445, 19.5140) |
| Luminance | 0.1064 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.63
Red Violet
#9E0168
ΔE00 5.63
Light Eggplant
#894585
ΔE00 5.68
Bruise
#7E4071
ΔE00 6.11
Magenta (survey)
#C20078
ΔE00 7.66
Deep Magenta
#A0025C
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A337A #339A53
analogous
#87339A #9A337A #9A3346
triadic
#9A337A #7A9A33 #337A9A
tetradic
#9A337A #9A8733 #339A53 #33469A
square
#9A337A #9A8733 #339A53 #33469A
split-complementary
#9A337A #469A33 #339A87
monochromatic
#3E1531 #6C2456 #9A337A #C2489C #D276B5
Accessibility & contrast
On white
6.71
#9A337A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#9A337A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A337A
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A337A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A337A | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B517C
Deuteranopia (green-blind)
#5A6278
Tritanopia (blue-blind)
#A33452
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9a337a; /* rgb */ color: rgb(154, 51, 122); /* oklch */ color: oklch(49.5% 0.158 342.3);
Tailwind
colors: {
custom: {
50: '#bb72a0',
500: '#9a337a',
950: '#000000',
},
}SCSS
$custom: #9a337a; $custom-light: #bb72a0; $custom-dark: #000000;
JSON
{
"hex": "#9a337a",
"rgb": {
"r": 154,
"g": 51,
"b": 122
},
"hsl": {
"h": 318.641,
"s": 50.244,
"l": 40.196
},
"oklch": {
"l": 0.49472,
"c": 0.15802,
"h": 342.3
},
"luminance": 0.10643
}Semantic roles & 50–950 ramp
primary
#9A337A
secondary
#6FBA86
accent
#DA794E
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E