#972DA2#972DA2

#972DA2 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.195 H 323.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#972DA2
RGBrgb(151, 45, 162)
HSLhsl(294, 57%, 41%)
HSVhsv(294, 72%, 64%)
CMYKcmyk(6.8%, 72.2%, 0%, 36.5%)
CIE-LABlab(39.69, 58.44, -41.30)
CIE-LCHlch(39.69, 71.57, 324.75°)
OKLaboklab(50.56% 0.1575 -0.1151)
OKLCHoklch(50.56% 0.195 323.8)
XYZxyz(20.2219, 11.0659, 35.2462)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972DA2 #38A22D
analogous
#5C2DA2 #972DA2 #A22D72
triadic
#972DA2 #A2972D #2DA297
tetradic
#972DA2 #A25C2D #38A22D #2D72A2
square
#972DA2 #A25C2D #38A22D #2D72A2
split-complementary
#972DA2 #72A22D #2DA25C
monochromatic
#3E1242 #6A2072 #972DA2 #BE42CA #CE72D8

Accessibility & contrast

On white

6.54
#972DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#972DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972DA2
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972DA2#FFFFFF#000000##FFFFFF
##972DA21.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0255A5
Deuteranopia (green-blind)
#42629F
Tritanopia (blue-blind)
#9A4165
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #972da2;
/* rgb */ color: rgb(151, 45, 162);
/* oklch */ color: oklch(50.6% 0.195 323.8);
Tailwind
colors: {
  custom: {
    50: '#b970be',
    500: '#972da2',
    950: '#000000',
  },
}
SCSS
$custom: #972da2;
$custom-light: #b970be;
$custom-dark: #000000;
JSON
{
  "hex": "#972da2",
  "rgb": {
    "r": 151,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 294.359,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50557,
    "c": 0.19508,
    "h": 323.8
  },
  "luminance": 0.11065
}

Semantic roles & 50–950 ramp

primary
#972DA2
secondary
#73BF6C
accent
#E04856
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #972DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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