#972899#972899
#972899 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.193 H 327.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #972899 |
|---|---|
| RGB | rgb(151, 40, 153) |
| HSL | hsl(299, 59%, 38%) |
| HSV | hsv(299, 74%, 60%) |
| CMYK | cmyk(1.3%, 73.9%, 0%, 40%) |
| CIE-LAB | lab(38.55, 58.62, -37.70) |
| CIE-LCH | lch(38.55, 69.69, 327.25°) |
| OKLab | oklab(49.57% 0.1626 -0.1046) |
| OKLCH | oklch(49.57% 0.193 327.2) |
| XYZ | xyz(19.2708, 10.3982, 31.1229) |
| Luminance | 0.1040 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.11
Barney Purple
#A00498
ΔE00 2.65
Darkmagenta
#8B008B
ΔE00 5.04
Medium Purple
#9E43A2
ΔE00 5.42
Barney
#AC1DB8
ΔE00 5.47
Purply
#983FB2
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972899 #2A9928
analogous
#5E2899 #972899 #992862
triadic
#972899 #999728 #289997
tetradic
#972899 #995E28 #2A9928 #286299
square
#972899 #995E28 #2A9928 #286299
split-complementary
#972899 #629928 #28995E
monochromatic
#370F38 #671B68 #972899 #C735CA #D565D7
Accessibility & contrast
On white
6.82
#972899 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#972899 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #972899
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972899 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972899 | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D529C
Deuteranopia (green-blind)
#456096
Tritanopia (blue-blind)
#9B3A5E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #972899; /* rgb */ color: rgb(151, 40, 153); /* oklch */ color: oklch(49.6% 0.193 327.2);
Tailwind
colors: {
custom: {
50: '#b96eb7',
500: '#972899',
950: '#000000',
},
}SCSS
$custom: #972899; $custom-light: #b96eb7; $custom-dark: #000000;
JSON
{
"hex": "#972899",
"rgb": {
"r": 151,
"g": 40,
"b": 153
},
"hsl": {
"h": 298.938,
"s": 58.549,
"l": 37.843
},
"oklch": {
"l": 0.49569,
"c": 0.1933,
"h": 327.2
},
"luminance": 0.10397
}Semantic roles & 50–950 ramp
primary
#972899
secondary
#62BD60
accent
#E24649
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80