#972DC3#972DC3

#972DC3 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.8% C 0.224 H 313.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#972DC3
RGBrgb(151, 45, 195)
HSLhsl(282, 63%, 47%)
HSVhsv(282, 77%, 76%)
CMYKcmyk(22.6%, 76.9%, 0%, 23.5%)
CIE-LABlab(41.84, 64.73, -57.38)
CIE-LCHlch(41.84, 86.50, 318.45°)
OKLaboklab(52.77% 0.1539 -0.1622)
OKLCHoklch(52.77% 0.224 313.5)
XYZxyz(23.5495, 12.3970, 52.7715)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972DC3 #59C32D
analogous
#4C2DC3 #972DC3 #C32DA4
triadic
#972DC3 #C3972D #2DC397
tetradic
#972DC3 #C34C2D #59C32D #2DA4C3
square
#972DC3 #C34C2D #59C32D #2DA4C3
split-complementary
#972DC3 #A4C32D #2DC34C
monochromatic
#4A1660 #702291 #972DC3 #B255D8 #C887E3

Accessibility & contrast

On white

6.04
#972DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#972DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972DC3
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972DC3#FFFFFF#000000##FFFFFF
##972DC31.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#1C65C0
Tritanopia (blue-blind)
#925077
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #972dc3;
/* rgb */ color: rgb(151, 45, 195);
/* oklch */ color: oklch(52.8% 0.224 313.5);
Tailwind
colors: {
  custom: {
    50: '#ba72d6',
    500: '#972dc3',
    950: '#000000',
  },
}
SCSS
$custom: #972dc3;
$custom-light: #ba72d6;
$custom-dark: #000000;
JSON
{
  "hex": "#972dc3",
  "rgb": {
    "r": 151,
    "g": 45,
    "b": 195
  },
  "hsl": {
    "h": 282.4,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52766,
    "c": 0.22361,
    "h": 313.5
  },
  "luminance": 0.12396
}

Semantic roles & 50–950 ramp

primary
#972DC3
secondary
#96CD7F
accent
#E64272
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #972DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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