#972394#972394

#972394 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.9% C 0.195 H 329.2°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#972394
RGBrgb(151, 35, 148)
HSLhsl(302, 62%, 36%)
HSVhsv(302, 77%, 59%)
CMYKcmyk(0%, 76.8%, 2%, 40.8%)
CIE-LABlab(37.70, 59.39, -36.01)
CIE-LCHlch(37.70, 69.45, 328.77°)
OKLaboklab(48.87% 0.1672 -0.0996)
OKLCHoklch(48.87% 0.195 329.2)
XYZxyz(18.7087, 9.9209, 28.9408)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972394 #239726
analogous
#602397 #972394 #97235A
triadic
#972394 #949723 #239497
tetradic
#972394 #976023 #239726 #235A97
square
#972394 #976023 #239726 #235A97
split-complementary
#972394 #5A9723 #239760
monochromatic
#340C33 #651763 #972394 #C92FC5 #D95BD6

Accessibility & contrast

On white

7.04
#972394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#972394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972394
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972394#FFFFFF#000000##FFFFFF
##9723941.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4F97
Deuteranopia (green-blind)
#465E91
Tritanopia (blue-blind)
#9C355A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #972394;
/* rgb */ color: rgb(151, 35, 148);
/* oklch */ color: oklch(48.9% 0.195 329.2);
Tailwind
colors: {
  custom: {
    50: '#b96cb4',
    500: '#972394',
    950: '#000000',
  },
}
SCSS
$custom: #972394;
$custom-light: #b96cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#972394",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 301.552,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48871,
    "c": 0.19461,
    "h": 329.2
  },
  "luminance": 0.09919
}

Semantic roles & 50–950 ramp

primary
#972394
secondary
#58BE5B
accent
#E54742
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #972394

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

Preview Lab → · Contrast checker → · Palette generator →

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