#972487#972487

#972487 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.184 H 334.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#972487
RGBrgb(151, 36, 135)
HSLhsl(308, 61%, 37%)
HSVhsv(308, 76%, 59%)
CMYKcmyk(0%, 76.2%, 10.6%, 40.8%)
CIE-LABlab(37.10, 57.01, -28.98)
CIE-LCHlch(37.10, 63.95, 333.05°)
OKLaboklab(48.21% 0.1659 -0.0793)
OKLCHoklch(48.21% 0.184 334.4)
XYZxyz(17.7667, 9.5919, 23.8327)
Luminance0.0959 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972487 #249734
analogous
#6E2497 #972487 #97244E
triadic
#972487 #879724 #248797
tetradic
#972487 #976E24 #249734 #244E97
square
#972487 #976E24 #249734 #244E97
split-complementary
#972487 #4E9724 #24976E
monochromatic
#340C2F #66185B #972487 #C830B3 #D85DC7

Accessibility & contrast

On white

7.20
#972487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#972487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972487
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972487#FFFFFF#000000##FFFFFF
##9724871.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224D8A
Deuteranopia (green-blind)
#4D5D84
Tritanopia (blue-blind)
#9E2F53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #972487;
/* rgb */ color: rgb(151, 36, 135);
/* oklch */ color: oklch(48.2% 0.184 334.4);
Tailwind
colors: {
  custom: {
    50: '#b96caa',
    500: '#972487',
    950: '#000000',
  },
}
SCSS
$custom: #972487;
$custom-light: #b96caa;
$custom-dark: #000000;
JSON
{
  "hex": "#972487",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 308.348,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48212,
    "c": 0.18386,
    "h": 334.4
  },
  "luminance": 0.0959
}

Semantic roles & 50–950 ramp

primary
#972487
secondary
#5ABD67
accent
#E55A43
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #972487

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

Preview Lab → · Contrast checker → · Palette generator →

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