#972889#972889

#972889 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.181 H 333.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#972889
RGBrgb(151, 40, 137)
HSLhsl(308, 58%, 37%)
HSVhsv(308, 74%, 59%)
CMYKcmyk(0%, 73.5%, 9.3%, 40.8%)
CIE-LABlab(37.67, 55.99, -29.32)
CIE-LCHlch(37.67, 63.20, 332.36°)
OKLaboklab(48.66% 0.1621 -0.0803)
OKLCHoklch(48.66% 0.181 333.6)
XYZxyz(18.0368, 9.9046, 24.6239)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972889 #289736
analogous
#6E2897 #972889 #972851
triadic
#972889 #899728 #288997
tetradic
#972889 #976E28 #289736 #285197
square
#972889 #976E28 #289736 #285197
split-complementary
#972889 #519728 #28976E
monochromatic
#360E31 #671B5D #972889 #C735B5 #D664C7

Accessibility & contrast

On white

7.05
#972889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#972889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972889
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972889#FFFFFF#000000##FFFFFF
##9728891.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254E8C
Deuteranopia (green-blind)
#4D5E86
Tritanopia (blue-blind)
#9E3256
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #972889;
/* rgb */ color: rgb(151, 40, 137);
/* oklch */ color: oklch(48.7% 0.181 333.6);
Tailwind
colors: {
  custom: {
    50: '#b96dac',
    500: '#972889',
    950: '#000000',
  },
}
SCSS
$custom: #972889;
$custom-light: #b96dac;
$custom-dark: #000000;
JSON
{
  "hex": "#972889",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 307.568,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48656,
    "c": 0.1809,
    "h": 333.6
  },
  "luminance": 0.09903
}

Semantic roles & 50–950 ramp

primary
#972889
secondary
#5FBC6B
accent
#E15A46
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #972889

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#972889 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva