#972DA4#972DA4

#972DA4 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.7% C 0.197 H 323.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#972DA4
RGBrgb(151, 45, 164)
HSLhsl(293, 57%, 41%)
HSVhsv(293, 73%, 64%)
CMYKcmyk(7.9%, 72.6%, 0%, 35.7%)
CIE-LABlab(39.81, 58.80, -42.31)
CIE-LCHlch(39.81, 72.45, 324.26°)
OKLaboklab(50.68% 0.1574 -0.1181)
OKLCHoklch(50.68% 0.197 323.1)
XYZxyz(20.4011, 11.1376, 36.1900)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972DA4 #3AA42D
analogous
#5B2DA4 #972DA4 #A42D75
triadic
#972DA4 #A4972D #2DA497
tetradic
#972DA4 #A45B2D #3AA42D #2D75A4
square
#972DA4 #A45B2D #3AA42D #2D75A4
split-complementary
#972DA4 #75A42D #2DA45B
monochromatic
#3F1344 #6B2074 #972DA4 #BC43CB #CD73D9

Accessibility & contrast

On white

6.51
#972DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#972DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972DA4
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972DA4#FFFFFF#000000##FFFFFF
##972DA41.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#4062A1
Tritanopia (blue-blind)
#994266
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #972da4;
/* rgb */ color: rgb(151, 45, 164);
/* oklch */ color: oklch(50.7% 0.197 323.1);
Tailwind
colors: {
  custom: {
    50: '#b971bf',
    500: '#972da4',
    950: '#000000',
  },
}
SCSS
$custom: #972da4;
$custom-light: #b971bf;
$custom-dark: #000000;
JSON
{
  "hex": "#972da4",
  "rgb": {
    "r": 151,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 293.445,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50681,
    "c": 0.19676,
    "h": 323.1
  },
  "luminance": 0.11136
}

Semantic roles & 50–950 ramp

primary
#972DA4
secondary
#76C06D
accent
#E04858
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #972DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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