#972096#972096

#972096 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.8% C 0.199 H 328.5°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#972096
RGBrgb(151, 32, 150)
HSLhsl(301, 65%, 36%)
HSVhsv(301, 79%, 59%)
CMYKcmyk(0%, 78.8%, 0.7%, 40.8%)
CIE-LABlab(37.51, 60.59, -37.53)
CIE-LCHlch(37.51, 71.27, 328.23°)
OKLaboklab(48.77% 0.1697 -0.104)
OKLCHoklch(48.77% 0.199 328.5)
XYZxyz(18.7838, 9.8158, 29.7536)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972096 #209721
analogous
#5C2097 #972096 #97205A
triadic
#972096 #969720 #209697
tetradic
#972096 #975C20 #209721 #205A97
square
#972096 #975C20 #209721 #205A97
split-complementary
#972096 #5A9720 #20975C
monochromatic
#320B32 #641564 #972096 #C92BC8 #DB56DA

Accessibility & contrast

On white

7.09
#972096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#972096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972096
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972096#FFFFFF#000000##FFFFFF
##9720961.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#435E93
Tritanopia (blue-blind)
#9C345B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #972096;
/* rgb */ color: rgb(151, 32, 150);
/* oklch */ color: oklch(48.8% 0.199 328.5);
Tailwind
colors: {
  custom: {
    50: '#b96bb5',
    500: '#972096',
    950: '#000000',
  },
}
SCSS
$custom: #972096;
$custom-light: #b96bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#972096",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 300.504,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48773,
    "c": 0.19901,
    "h": 328.5
  },
  "luminance": 0.09814
}

Semantic roles & 50–950 ramp

primary
#972096
secondary
#54BF55
accent
#E84140
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #972096

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

Preview Lab → · Contrast checker → · Palette generator →

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