#972996#972996

#972996 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.190 H 328.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#972996
RGBrgb(151, 41, 150)
HSLhsl(301, 57%, 38%)
HSVhsv(301, 73%, 59%)
CMYKcmyk(0%, 72.8%, 0.7%, 40.8%)
CIE-LABlab(38.50, 57.77, -35.96)
CIE-LCHlch(38.50, 68.04, 328.10°)
OKLaboklab(49.48% 0.1616 -0.0995)
OKLCHoklch(49.48% 0.19 328.4)
XYZxyz(19.0602, 10.3686, 29.8457)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972996 #29972A
analogous
#612997 #972996 #97295F
triadic
#972996 #969729 #299697
tetradic
#972996 #976129 #29972A #295F97
square
#972996 #976129 #29972A #295F97
split-complementary
#972996 #5F9729 #299761
monochromatic
#370F36 #671C66 #972996 #C736C6 #D565D4

Accessibility & contrast

On white

6.83
#972996 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#972996 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972996
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972996#FFFFFF#000000##FFFFFF
##9729961.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165199
Deuteranopia (green-blind)
#476093
Tritanopia (blue-blind)
#9C395D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #972996;
/* rgb */ color: rgb(151, 41, 150);
/* oklch */ color: oklch(49.5% 0.190 328.4);
Tailwind
colors: {
  custom: {
    50: '#b96eb5',
    500: '#972996',
    950: '#000000',
  },
}
SCSS
$custom: #972996;
$custom-light: #b96eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#972996",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 150
  },
  "hsl": {
    "h": 300.545,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49477,
    "c": 0.18981,
    "h": 328.4
  },
  "luminance": 0.10367
}

Semantic roles & 50–950 ramp

primary
#972996
secondary
#61BB61
accent
#E14947
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #972996

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

Preview Lab → · Contrast checker → · Palette generator →

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