#972399#972399

#972399 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.2% C 0.198 H 327.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#972399
RGBrgb(151, 35, 153)
HSLhsl(299, 63%, 37%)
HSVhsv(299, 77%, 60%)
CMYKcmyk(1.3%, 77.1%, 0%, 40%)
CIE-LABlab(37.99, 60.21, -38.58)
CIE-LCHlch(37.99, 71.52, 327.35°)
OKLaboklab(49.17% 0.1671 -0.1071)
OKLCHoklch(49.17% 0.198 327.3)
XYZxyz(19.1130, 10.0827, 31.0703)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972399 #259923
analogous
#5C2399 #972399 #992360
triadic
#972399 #999723 #239997
tetradic
#972399 #995C23 #259923 #236099
square
#972399 #995C23 #259923 #236099
split-complementary
#972399 #609923 #23995C
monochromatic
#350C35 #661867 #972399 #C82ECB #D85DDA

Accessibility & contrast

On white

6.96
#972399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#972399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972399
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972399#FFFFFF#000000##FFFFFF
##9723991.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#435E96
Tritanopia (blue-blind)
#9C375D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #972399;
/* rgb */ color: rgb(151, 35, 153);
/* oklch */ color: oklch(49.2% 0.198 327.3);
Tailwind
colors: {
  custom: {
    50: '#b96cb7',
    500: '#972399',
    950: '#000000',
  },
}
SCSS
$custom: #972399;
$custom-light: #b96cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#972399",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 298.983,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49172,
    "c": 0.19846,
    "h": 327.3
  },
  "luminance": 0.10081
}

Semantic roles & 50–950 ramp

primary
#972399
secondary
#5BBE59
accent
#E64245
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #972399

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

Preview Lab → · Contrast checker → · Palette generator →

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