#972396#972396

#972396 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.196 H 328.5°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#972396
RGBrgb(151, 35, 150)
HSLhsl(301, 62%, 36%)
HSVhsv(301, 77%, 59%)
CMYKcmyk(0%, 76.8%, 0.7%, 40.8%)
CIE-LABlab(37.82, 59.72, -37.04)
CIE-LCHlch(37.82, 70.27, 328.19°)
OKLaboklab(48.99% 0.1672 -0.1026)
OKLCHoklch(48.99% 0.196 328.5)
XYZxyz(18.8684, 9.9848, 29.7817)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972396 #239724
analogous
#5E2397 #972396 #97235C
triadic
#972396 #969723 #239697
tetradic
#972396 #975E23 #239724 #235C97
square
#972396 #975E23 #239724 #235C97
split-complementary
#972396 #5C9723 #23975E
monochromatic
#340C33 #651765 #972396 #C92FC7 #D95BD8

Accessibility & contrast

On white

7.01
#972396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#972396 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972396
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972396#FFFFFF#000000##FFFFFF
##9723961.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084F99
Deuteranopia (green-blind)
#445E93
Tritanopia (blue-blind)
#9C365B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #972396;
/* rgb */ color: rgb(151, 35, 150);
/* oklch */ color: oklch(49.0% 0.196 328.5);
Tailwind
colors: {
  custom: {
    50: '#b96cb5',
    500: '#972396',
    950: '#000000',
  },
}
SCSS
$custom: #972396;
$custom-light: #b96cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#972396",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 300.517,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4899,
    "c": 0.19614,
    "h": 328.5
  },
  "luminance": 0.09983
}

Semantic roles & 50–950 ramp

primary
#972396
secondary
#58BE59
accent
#E54442
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #972396

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

Preview Lab → · Contrast checker → · Palette generator →

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