#972CAF#972CAF

#972CAF is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.207 H 319.5°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#972CAF
RGBrgb(151, 44, 175)
HSLhsl(289, 60%, 43%)
HSVhsv(289, 75%, 69%)
CMYKcmyk(13.7%, 74.9%, 0%, 31.4%)
CIE-LABlab(40.37, 61.19, -47.97)
CIE-LCHlch(40.37, 77.76, 321.90°)
OKLaboklab(51.3% 0.1576 -0.1346)
OKLCHoklch(51.3% 0.207 319.5)
XYZxyz(21.4000, 11.4769, 41.6372)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972CAF #44AF2C
analogous
#562CAF #972CAF #AF2C85
triadic
#972CAF #AF972C #2CAF97
tetradic
#972CAF #AF562C #44AF2C #2C85AF
square
#972CAF #AF562C #44AF2C #2C85AF
split-complementary
#972CAF #85AF2C #2CAF56
monochromatic
#43134D #6D207E #972CAF #B847D1 #CB78DD

Accessibility & contrast

On white

6.37
#972CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#972CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972CAF
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972CAF#FFFFFF#000000##FFFFFF
##972CAF1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#3763AC
Tritanopia (blue-blind)
#97476C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #972caf;
/* rgb */ color: rgb(151, 44, 175);
/* oklch */ color: oklch(51.3% 0.207 319.5);
Tailwind
colors: {
  custom: {
    50: '#ba71c7',
    500: '#972caf',
    950: '#000000',
  },
}
SCSS
$custom: #972caf;
$custom-light: #ba71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#972caf",
  "rgb": {
    "r": 151,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 289.008,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.513,
    "c": 0.20724,
    "h": 319.5
  },
  "luminance": 0.11476
}

Semantic roles & 50–950 ramp

primary
#972CAF
secondary
#81C572
accent
#E34562
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #972CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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