#972287#972287

#972287 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.186 H 334.4°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#972287
RGBrgb(151, 34, 135)
HSLhsl(308, 63%, 36%)
HSVhsv(308, 77%, 59%)
CMYKcmyk(0%, 77.5%, 10.6%, 40.8%)
CIE-LABlab(36.88, 57.63, -29.32)
CIE-LCHlch(36.88, 64.66, 333.03°)
OKLaboklab(48.06% 0.1677 -0.0803)
OKLCHoklch(48.06% 0.186 334.4)
XYZxyz(17.7079, 9.4742, 23.8131)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972287 #229732
analogous
#6D2297 #972287 #97224D
triadic
#972287 #879722 #228797
tetradic
#972287 #976D22 #229732 #224D97
square
#972287 #976D22 #229732 #224D97
split-complementary
#972287 #4D9722 #22976D
monochromatic
#330C2E #65175A #972287 #C92DB4 #DA5AC8

Accessibility & contrast

On white

7.25
#972287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#972287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972287
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972287#FFFFFF#000000##FFFFFF
##9722871.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204C8A
Deuteranopia (green-blind)
#4C5D84
Tritanopia (blue-blind)
#9E2D53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #972287;
/* rgb */ color: rgb(151, 34, 135);
/* oklch */ color: oklch(48.1% 0.186 334.4);
Tailwind
colors: {
  custom: {
    50: '#b96baa',
    500: '#972287',
    950: '#000000',
  },
}
SCSS
$custom: #972287;
$custom-light: #b96baa;
$custom-dark: #000000;
JSON
{
  "hex": "#972287",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 308.205,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48055,
    "c": 0.18593,
    "h": 334.4
  },
  "luminance": 0.09473
}

Semantic roles & 50–950 ramp

primary
#972287
secondary
#57BE65
accent
#E65842
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #972287

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

Preview Lab → · Contrast checker → · Palette generator →

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