#972891#972891

#972891 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.187 H 330.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#972891
RGBrgb(151, 40, 145)
HSLhsl(303, 58%, 37%)
HSVhsv(303, 74%, 59%)
CMYKcmyk(0%, 73.5%, 4%, 40.8%)
CIE-LABlab(38.10, 57.28, -33.55)
CIE-LCHlch(38.10, 66.38, 329.64°)
OKLaboklab(49.1% 0.1625 -0.0925)
OKLCHoklch(49.1% 0.187 330.3)
XYZxyz(18.6320, 10.1427, 27.7590)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972891 #28972E
analogous
#652897 #972891 #97285A
triadic
#972891 #919728 #289197
tetradic
#972891 #976528 #28972E #285A97
square
#972891 #976528 #28972E #285A97
split-complementary
#972891 #5A9728 #289765
monochromatic
#360E34 #671B63 #972891 #C735BF #D664D0

Accessibility & contrast

On white

6.93
#972891 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#972891 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972891
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972891#FFFFFF#000000##FFFFFF
##9728911.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5094
Deuteranopia (green-blind)
#495F8E
Tritanopia (blue-blind)
#9D365A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #972891;
/* rgb */ color: rgb(151, 40, 145);
/* oklch */ color: oklch(49.1% 0.187 330.3);
Tailwind
colors: {
  custom: {
    50: '#b96eb1',
    500: '#972891',
    950: '#000000',
  },
}
SCSS
$custom: #972891;
$custom-light: #b96eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#972891",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 303.243,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49101,
    "c": 0.187,
    "h": 330.3
  },
  "luminance": 0.10141
}

Semantic roles & 50–950 ramp

primary
#972891
secondary
#5FBC64
accent
#E14F46
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #972891

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

Preview Lab → · Contrast checker → · Palette generator →

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