#972386#972386

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

Color values

HEX#972386
RGBrgb(151, 35, 134)
HSLhsl(309, 62%, 36%)
HSVhsv(309, 77%, 59%)
CMYKcmyk(0%, 76.8%, 11.3%, 40.8%)
CIE-LABlab(36.94, 57.17, -28.62)
CIE-LCHlch(36.94, 63.93, 333.41°)
OKLaboklab(48.08% 0.1667 -0.0783)
OKLCHoklch(48.08% 0.184 334.8)
XYZxyz(17.6668, 9.5042, 23.4537)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972386 #239734
analogous
#6E2397 #972386 #97234C
triadic
#972386 #869723 #238697
tetradic
#972386 #976E23 #239734 #234C97
square
#972386 #976E23 #239734 #234C97
split-complementary
#972386 #4C9723 #23976E
monochromatic
#340C2E #65175A #972386 #C92FB2 #D95BC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##972386#FFFFFF#000000##FFFFFF
##9723861.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)
#224C89
Deuteranopia (green-blind)
#4D5D83
Tritanopia (blue-blind)
#9F2D53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #972386;
/* rgb */ color: rgb(151, 35, 134);
/* oklch */ color: oklch(48.1% 0.184 334.8);
Tailwind
colors: {
  custom: {
    50: '#b96ba9',
    500: '#972386',
    950: '#000000',
  },
}
SCSS
$custom: #972386;
$custom-light: #b96ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#972386",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 308.793,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48078,
    "c": 0.18418,
    "h": 334.8
  },
  "luminance": 0.09503
}

Semantic roles & 50–950 ramp

primary
#972386
secondary
#58BE67
accent
#E55A42
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #972386

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

Preview Lab → · Contrast checker → · Palette generator →

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