#972CAE#972CAE

#972CAE is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.206 H 319.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#972CAE
RGBrgb(151, 44, 174)
HSLhsl(289, 60%, 43%)
HSVhsv(289, 75%, 68%)
CMYKcmyk(13.2%, 74.7%, 0%, 31.8%)
CIE-LABlab(40.31, 61.01, -47.48)
CIE-LCHlch(40.31, 77.31, 322.11°)
OKLaboklab(51.23% 0.1577 -0.1332)
OKLCHoklch(51.23% 0.206 319.8)
XYZxyz(21.3022, 11.4377, 41.1218)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972CAE #43AE2C
analogous
#562CAE #972CAE #AE2C84
triadic
#972CAE #AE972C #2CAE97
tetradic
#972CAE #AE562C #43AE2C #2C84AE
square
#972CAE #AE562C #43AE2C #2C84AE
split-complementary
#972CAE #84AE2C #2CAE56
monochromatic
#42134C #6D207D #972CAE #B847D0 #CB78DD

Accessibility & contrast

On white

6.39
#972CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#972CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972CAE
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972CAE#FFFFFF#000000##FFFFFF
##972CAE1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#3763AB
Tritanopia (blue-blind)
#97466B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #972cae;
/* rgb */ color: rgb(151, 44, 174);
/* oklch */ color: oklch(51.2% 0.206 319.8);
Tailwind
colors: {
  custom: {
    50: '#b971c7',
    500: '#972cae',
    950: '#000000',
  },
}
SCSS
$custom: #972cae;
$custom-light: #b971c7;
$custom-dark: #000000;
JSON
{
  "hex": "#972cae",
  "rgb": {
    "r": 151,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 289.385,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51234,
    "c": 0.20638,
    "h": 319.8
  },
  "luminance": 0.11437
}

Semantic roles & 50–950 ramp

primary
#972CAE
secondary
#80C571
accent
#E34561
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #972CAE

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

Preview Lab → · Contrast checker → · Palette generator →

#972CAE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva