#972397#972397

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

Color values

HEX#972397
RGBrgb(151, 35, 151)
HSLhsl(300, 62%, 36%)
HSVhsv(300, 77%, 59%)
CMYKcmyk(0%, 76.8%, 0%, 40.8%)
CIE-LABlab(37.87, 59.88, -37.56)
CIE-LCHlch(37.87, 70.68, 327.90°)
OKLaboklab(49.05% 0.1671 -0.1041)
OKLCHoklch(49.05% 0.197 328.1)
XYZxyz(18.9492, 10.0171, 30.2076)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972397 #239723
analogous
#5D2397 #972397 #97235D
triadic
#972397 #979723 #239797
tetradic
#972397 #975D23 #239723 #235D97
square
#972397 #975D23 #239723 #235D97
split-complementary
#972397 #5D9723 #23975D
monochromatic
#340C34 #651765 #972397 #C92FC9 #D95BD9

Accessibility & contrast

On white

6.99
#972397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #972397
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972397#FFFFFF#000000##FFFFFF
##9723971.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05509A
Deuteranopia (green-blind)
#445E94
Tritanopia (blue-blind)
#9C365C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #972397;
/* rgb */ color: rgb(151, 35, 151);
/* oklch */ color: oklch(49.0% 0.197 328.1);
Tailwind
colors: {
  custom: {
    50: '#b96cb6',
    500: '#972397',
    950: '#000000',
  },
}
SCSS
$custom: #972397;
$custom-light: #b96cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#972397",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 300,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4905,
    "c": 0.19691,
    "h": 328.1
  },
  "luminance": 0.10016
}

Semantic roles & 50–950 ramp

primary
#972397
secondary
#58BE58
accent
#E54242
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #972397

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

Preview Lab → · Contrast checker → · Palette generator →

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