#972DA5#972DA5

#972DA5 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.198 H 322.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#972DA5
RGBrgb(151, 45, 165)
HSLhsl(293, 57%, 41%)
HSVhsv(293, 73%, 65%)
CMYKcmyk(8.5%, 72.7%, 0%, 35.3%)
CIE-LABlab(39.87, 58.99, -42.81)
CIE-LCHlch(39.87, 72.89, 324.03°)
OKLaboklab(50.74% 0.1574 -0.1195)
OKLCHoklch(50.74% 0.198 322.8)
XYZxyz(20.4917, 11.1739, 36.6674)
Luminance0.1117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972DA5 #3BA52D
analogous
#5B2DA5 #972DA5 #A52D77
triadic
#972DA5 #A5972D #2DA597
tetradic
#972DA5 #A55B2D #3BA52D #2D77A5
square
#972DA5 #A55B2D #3BA52D #2D77A5
split-complementary
#972DA5 #77A52D #2DA55B
monochromatic
#3F1345 #6B2075 #972DA5 #BC43CC #CD73D9

Accessibility & contrast

On white

6.49
#972DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #972DA5
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972DA5#FFFFFF#000000##FFFFFF
##972DA51.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#3F62A2
Tritanopia (blue-blind)
#994366
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #972da5;
/* rgb */ color: rgb(151, 45, 165);
/* oklch */ color: oklch(50.7% 0.198 322.8);
Tailwind
colors: {
  custom: {
    50: '#b971c0',
    500: '#972da5',
    950: '#000000',
  },
}
SCSS
$custom: #972da5;
$custom-light: #b971c0;
$custom-dark: #000000;
JSON
{
  "hex": "#972da5",
  "rgb": {
    "r": 151,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 293,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50744,
    "c": 0.19761,
    "h": 322.8
  },
  "luminance": 0.11173
}

Semantic roles & 50–950 ramp

primary
#972DA5
secondary
#77C16D
accent
#E04759
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #972DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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