#972DC9#972DC9

#972DC9 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.229 H 311.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#972DC9
RGBrgb(151, 45, 201)
HSLhsl(281, 63%, 48%)
HSVhsv(281, 78%, 79%)
CMYKcmyk(24.9%, 77.6%, 0%, 21.2%)
CIE-LABlab(42.27, 65.93, -60.18)
CIE-LCHlch(42.27, 89.26, 317.61°)
OKLaboklab(53.2% 0.1528 -0.1704)
OKLCHoklch(53.2% 0.229 311.9)
XYZxyz(24.2415, 12.6738, 56.4163)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972DC9 #5FC92D
analogous
#492DC9 #972DC9 #C92DAD
triadic
#972DC9 #C9972D #2DC997
tetradic
#972DC9 #C9492D #5FC92D #2DADC9
square
#972DC9 #C9492D #5FC92D #2DADC9
split-complementary
#972DC9 #ADC92D #2DC949
monochromatic
#4C1765 #712297 #972DC9 #B159DA #C88BE5

Accessibility & contrast

On white

5.94
#972DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#972DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972DC9
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972DC9#FFFFFF#000000##FFFFFF
##972DC91.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCD
Deuteranopia (green-blind)
#0A66C6
Tritanopia (blue-blind)
#91537B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #972dc9;
/* rgb */ color: rgb(151, 45, 201);
/* oklch */ color: oklch(53.2% 0.229 311.9);
Tailwind
colors: {
  custom: {
    50: '#bb72da',
    500: '#972dc9',
    950: '#000000',
  },
}
SCSS
$custom: #972dc9;
$custom-light: #bb72da;
$custom-dark: #000000;
JSON
{
  "hex": "#972dc9",
  "rgb": {
    "r": 151,
    "g": 45,
    "b": 201
  },
  "hsl": {
    "h": 280.769,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53201,
    "c": 0.2289,
    "h": 311.9
  },
  "luminance": 0.12673
}

Semantic roles & 50–950 ramp

primary
#972DC9
secondary
#9BCF83
accent
#E64176
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #972DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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