#972398#972398

#972398 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.1% C 0.198 H 327.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#972398
RGBrgb(151, 35, 152)
HSLhsl(299, 63%, 37%)
HSVhsv(299, 77%, 60%)
CMYKcmyk(0.7%, 77%, 0%, 40.4%)
CIE-LABlab(37.93, 60.05, -38.07)
CIE-LCHlch(37.93, 71.10, 327.62°)
OKLaboklab(49.11% 0.1671 -0.1056)
OKLCHoklch(49.11% 0.198 327.7)
XYZxyz(19.0308, 10.0498, 30.6371)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972398 #249823
analogous
#5D2398 #972398 #98235F
triadic
#972398 #989723 #239897
tetradic
#972398 #985D23 #249823 #235F98
square
#972398 #985D23 #249823 #235F98
split-complementary
#972398 #5F9823 #23985D
monochromatic
#340C35 #661866 #972398 #C82ECA #D85CD9

Accessibility & contrast

On white

6.98
#972398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#972398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972398
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972398#FFFFFF#000000##FFFFFF
##9723981.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02509B
Deuteranopia (green-blind)
#435E95
Tritanopia (blue-blind)
#9C375D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #972398;
/* rgb */ color: rgb(151, 35, 152);
/* oklch */ color: oklch(49.1% 0.198 327.7);
Tailwind
colors: {
  custom: {
    50: '#b96cb7',
    500: '#972398',
    950: '#000000',
  },
}
SCSS
$custom: #972398;
$custom-light: #b96cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#972398",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 299.487,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49111,
    "c": 0.19769,
    "h": 327.7
  },
  "luminance": 0.10048
}

Semantic roles & 50–950 ramp

primary
#972398
secondary
#5ABE59
accent
#E64244
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #972398

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

Preview Lab → · Contrast checker → · Palette generator →

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