#972DAD#972DAD

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

Color values

HEX#972DAD
RGBrgb(151, 45, 173)
HSLhsl(290, 59%, 43%)
HSVhsv(290, 74%, 68%)
CMYKcmyk(12.7%, 74%, 0%, 32.2%)
CIE-LABlab(40.37, 60.47, -46.79)
CIE-LCHlch(40.37, 76.46, 322.26°)
OKLaboklab(51.26% 0.1568 -0.1312)
OKLCHoklch(51.26% 0.204 320.1)
XYZxyz(21.2428, 11.4743, 40.6229)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972DAD #43AD2D
analogous
#572DAD #972DAD #AD2D83
triadic
#972DAD #AD972D #2DAD97
tetradic
#972DAD #AD572D #43AD2D #2D83AD
square
#972DAD #AD572D #43AD2D #2D83AD
split-complementary
#972DAD #83AD2D #2DAD57
monochromatic
#42144C #6D207C #972DAD #B848CF #CB78DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##972DAD#FFFFFF#000000##FFFFFF
##972DAD1.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#3963AA
Tritanopia (blue-blind)
#98466B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #972dad;
/* rgb */ color: rgb(151, 45, 173);
/* oklch */ color: oklch(51.3% 0.204 320.1);
Tailwind
colors: {
  custom: {
    50: '#b971c6',
    500: '#972dad',
    950: '#000000',
  },
}
SCSS
$custom: #972dad;
$custom-light: #b971c6;
$custom-dark: #000000;
JSON
{
  "hex": "#972dad",
  "rgb": {
    "r": 151,
    "g": 45,
    "b": 173
  },
  "hsl": {
    "h": 289.688,
    "s": 58.716,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51257,
    "c": 0.20444,
    "h": 320.1
  },
  "luminance": 0.11473
}

Semantic roles & 50–950 ramp

primary
#972DAD
secondary
#80C472
accent
#E24661
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #972DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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