#972DB1#972DB1

#972DB1 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.208 H 318.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#972DB1
RGBrgb(151, 45, 177)
HSLhsl(288, 59%, 44%)
HSVhsv(288, 75%, 69%)
CMYKcmyk(14.7%, 74.6%, 0%, 30.6%)
CIE-LABlab(40.62, 61.22, -48.76)
CIE-LCHlch(40.62, 78.26, 321.47°)
OKLaboklab(51.52% 0.1564 -0.1369)
OKLCHoklch(51.52% 0.208 318.8)
XYZxyz(21.6356, 11.6314, 42.6919)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972DB1 #47B12D
analogous
#552DB1 #972DB1 #B12D89
triadic
#972DB1 #B1972D #2DB197
tetradic
#972DB1 #B1552D #47B12D #2D89B1
square
#972DB1 #B1552D #47B12D #2D89B1
split-complementary
#972DB1 #89B12D #2DB155
monochromatic
#44144F #6D2180 #972DB1 #B64AD1 #CA7BDD

Accessibility & contrast

On white

6.31
#972DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#972DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972DB1
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972DB1#FFFFFF#000000##FFFFFF
##972DB11.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#3563AE
Tritanopia (blue-blind)
#97486D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #972db1;
/* rgb */ color: rgb(151, 45, 177);
/* oklch */ color: oklch(51.5% 0.208 318.8);
Tailwind
colors: {
  custom: {
    50: '#ba71c9',
    500: '#972db1',
    950: '#000000',
  },
}
SCSS
$custom: #972db1;
$custom-light: #ba71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#972db1",
  "rgb": {
    "r": 151,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 288.182,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5152,
    "c": 0.20789,
    "h": 318.8
  },
  "luminance": 0.1163
}

Semantic roles & 50–950 ramp

primary
#972DB1
secondary
#84C674
accent
#E34564
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #972DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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