#972288#972288

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

Color values

HEX#972288
RGBrgb(151, 34, 136)
HSLhsl(308, 63%, 36%)
HSVhsv(308, 77%, 59%)
CMYKcmyk(0%, 77.5%, 9.9%, 40.8%)
CIE-LABlab(36.93, 57.78, -29.86)
CIE-LCHlch(36.93, 65.04, 332.67°)
OKLaboklab(48.11% 0.1678 -0.0818)
OKLCHoklch(48.11% 0.187 334)
XYZxyz(17.7786, 9.5025, 24.1856)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972288 #229731
analogous
#6C2297 #972288 #97224E
triadic
#972288 #889722 #228897
tetradic
#972288 #976C22 #229731 #224E97
square
#972288 #976C22 #229731 #224E97
split-complementary
#972288 #4E9722 #22976C
monochromatic
#330C2E #65175B #972288 #C92DB5 #DA5AC9

Accessibility & contrast

On white

7.24
#972288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#972288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972288
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972288#FFFFFF#000000##FFFFFF
##9722881.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4C8B
Deuteranopia (green-blind)
#4C5D85
Tritanopia (blue-blind)
#9E2E53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #972288;
/* rgb */ color: rgb(151, 34, 136);
/* oklch */ color: oklch(48.1% 0.187 334.0);
Tailwind
colors: {
  custom: {
    50: '#b96bab',
    500: '#972288',
    950: '#000000',
  },
}
SCSS
$custom: #972288;
$custom-light: #b96bab;
$custom-dark: #000000;
JSON
{
  "hex": "#972288",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 307.692,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4811,
    "c": 0.18666,
    "h": 334
  },
  "luminance": 0.09501
}

Semantic roles & 50–950 ramp

primary
#972288
secondary
#57BE64
accent
#E65742
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #972288

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

Preview Lab → · Contrast checker → · Palette generator →

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