#972391#972391

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

Color values

HEX#972391
RGBrgb(151, 35, 145)
HSLhsl(303, 62%, 36%)
HSVhsv(303, 77%, 59%)
CMYKcmyk(0%, 76.8%, 4%, 40.8%)
CIE-LABlab(37.53, 58.90, -34.44)
CIE-LCHlch(37.53, 68.23, 329.68°)
OKLaboklab(48.7% 0.1672 -0.0951)
OKLCHoklch(48.7% 0.192 330.4)
XYZxyz(18.4743, 9.8272, 27.7064)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972391 #239729
analogous
#632397 #972391 #972357
triadic
#972391 #919723 #239197
tetradic
#972391 #976323 #239729 #235797
square
#972391 #976323 #239729 #235797
split-complementary
#972391 #579723 #239763
monochromatic
#340C32 #651761 #972391 #C92FC1 #D95BD3

Accessibility & contrast

On white

7.08
#972391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#972391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972391
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972391#FFFFFF#000000##FFFFFF
##9723911.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #972391;
/* rgb */ color: rgb(151, 35, 145);
/* oklch */ color: oklch(48.7% 0.192 330.4);
Tailwind
colors: {
  custom: {
    50: '#b96cb2',
    500: '#972391',
    950: '#000000',
  },
}
SCSS
$custom: #972391;
$custom-light: #b96cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#972391",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 303.103,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48695,
    "c": 0.19232,
    "h": 330.4
  },
  "luminance": 0.09826
}

Semantic roles & 50–950 ramp

primary
#972391
secondary
#58BE5D
accent
#E54B42
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #972391

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

Preview Lab → · Contrast checker → · Palette generator →

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