#972291#972291

#972291 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.193 H 330.4°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#972291
RGBrgb(151, 34, 145)
HSLhsl(303, 63%, 36%)
HSVhsv(303, 77%, 59%)
CMYKcmyk(0%, 77.5%, 4%, 40.8%)
CIE-LABlab(37.42, 59.20, -34.61)
CIE-LCHlch(37.42, 68.58, 329.69°)
OKLaboklab(48.62% 0.168 -0.0956)
OKLCHoklch(48.62% 0.193 330.4)
XYZxyz(18.4453, 9.7692, 27.6967)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972291 #229728
analogous
#632297 #972291 #972257
triadic
#972291 #919722 #229197
tetradic
#972291 #976322 #229728 #225797
square
#972291 #976322 #229728 #225797
split-complementary
#972291 #579722 #229763
monochromatic
#330C31 #651761 #972291 #C92DC1 #DA5AD3

Accessibility & contrast

On white

7.11
#972291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#972291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972291
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972291#FFFFFF#000000##FFFFFF
##9722911.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124E94
Deuteranopia (green-blind)
#475E8E
Tritanopia (blue-blind)
#9D3258
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #972291;
/* rgb */ color: rgb(151, 34, 145);
/* oklch */ color: oklch(48.6% 0.193 330.4);
Tailwind
colors: {
  custom: {
    50: '#b96bb2',
    500: '#972291',
    950: '#000000',
  },
}
SCSS
$custom: #972291;
$custom-light: #b96bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#972291",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 303.077,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4862,
    "c": 0.19332,
    "h": 330.4
  },
  "luminance": 0.09768
}

Semantic roles & 50–950 ramp

primary
#972291
secondary
#57BE5C
accent
#E64A42
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #972291

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

Preview Lab → · Contrast checker → · Palette generator →

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