#972498#972498

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

Color values

HEX#972498
RGBrgb(151, 36, 152)
HSLhsl(299, 62%, 37%)
HSVhsv(299, 76%, 60%)
CMYKcmyk(0.7%, 76.3%, 0%, 40.4%)
CIE-LABlab(38.04, 59.74, -37.90)
CIE-LCHlch(38.04, 70.75, 327.61°)
OKLaboklab(49.19% 0.1662 -0.1051)
OKLCHoklch(49.19% 0.197 327.7)
XYZxyz(19.0606, 10.1094, 30.6471)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972498 #259824
analogous
#5D2498 #972498 #98245F
triadic
#972498 #989724 #249897
tetradic
#972498 #985D24 #259824 #245F98
square
#972498 #985D24 #259824 #245F98
split-complementary
#972498 #5F9824 #24985D
monochromatic
#350D35 #661867 #972498 #C830C9 #D85ED9

Accessibility & contrast

On white

6.95
#972498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #972498
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972498#FFFFFF#000000##FFFFFF
##9724981.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #972498;
/* rgb */ color: rgb(151, 36, 152);
/* oklch */ color: oklch(49.2% 0.197 327.7);
Tailwind
colors: {
  custom: {
    50: '#b96cb7',
    500: '#972498',
    950: '#000000',
  },
}
SCSS
$custom: #972498;
$custom-light: #b96cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#972498",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 299.483,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49187,
    "c": 0.1967,
    "h": 327.7
  },
  "luminance": 0.10108
}

Semantic roles & 50–950 ramp

primary
#972498
secondary
#5BBE5A
accent
#E54344
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #972498

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

Preview Lab → · Contrast checker → · Palette generator →

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