#972598#972598

#972598 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.196 H 327.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#972598
RGBrgb(151, 37, 152)
HSLhsl(299, 61%, 37%)
HSVhsv(299, 76%, 60%)
CMYKcmyk(0.7%, 75.7%, 0%, 40.4%)
CIE-LABlab(38.15, 59.43, -37.73)
CIE-LCHlch(38.15, 70.39, 327.59°)
OKLaboklab(49.27% 0.1654 -0.1046)
OKLCHoklch(49.27% 0.196 327.7)
XYZxyz(19.0913, 10.1708, 30.6573)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972598 #269825
analogous
#5D2598 #972598 #982560
triadic
#972598 #989725 #259897
tetradic
#972598 #985D25 #269825 #256098
square
#972598 #985D25 #269825 #256098
split-complementary
#972598 #609825 #25985D
monochromatic
#350D36 #661967 #972598 #C831C9 #D75FD8

Accessibility & contrast

On white

6.92
#972598 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#972598 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972598
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972598#FFFFFF#000000##FFFFFF
##9725981.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07509B
Deuteranopia (green-blind)
#445F95
Tritanopia (blue-blind)
#9C385D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #972598;
/* rgb */ color: rgb(151, 37, 152);
/* oklch */ color: oklch(49.3% 0.196 327.7);
Tailwind
colors: {
  custom: {
    50: '#b96db7',
    500: '#972598',
    950: '#000000',
  },
}
SCSS
$custom: #972598;
$custom-light: #b96db7;
$custom-dark: #000000;
JSON
{
  "hex": "#972598",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 299.478,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49265,
    "c": 0.19568,
    "h": 327.7
  },
  "luminance": 0.10169
}

Semantic roles & 50–950 ramp

primary
#972598
secondary
#5CBD5C
accent
#E44445
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #972598

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

Preview Lab → · Contrast checker → · Palette generator →

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