#972DCA#972DCA

#972DCA is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.3% C 0.230 H 311.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#972DCA
RGBrgb(151, 45, 202)
HSLhsl(281, 64%, 48%)
HSVhsv(281, 78%, 79%)
CMYKcmyk(25.2%, 77.7%, 0%, 20.8%)
CIE-LABlab(42.34, 66.13, -60.64)
CIE-LCHlch(42.34, 89.73, 317.48°)
OKLaboklab(53.27% 0.1526 -0.1718)
OKLCHoklch(53.27% 0.23 311.6)
XYZxyz(24.3595, 12.7210, 57.0378)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972DCA #60CA2D
analogous
#492DCA #972DCA #CA2DAE
triadic
#972DCA #CA972D #2DCA97
tetradic
#972DCA #CA492D #60CA2D #2DAECA
square
#972DCA #CA492D #60CA2D #2DAECA
split-complementary
#972DCA #AECA2D #2DCA49
monochromatic
#4C1766 #722298 #972DCA #B15ADA #C88CE5

Accessibility & contrast

On white

5.93
#972DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#972DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972DCA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972DCA#FFFFFF#000000##FFFFFF
##972DCA1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0566C7
Tritanopia (blue-blind)
#90537B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #972dca;
/* rgb */ color: rgb(151, 45, 202);
/* oklch */ color: oklch(53.3% 0.230 311.6);
Tailwind
colors: {
  custom: {
    50: '#bb72db',
    500: '#972dca',
    950: '#000000',
  },
}
SCSS
$custom: #972dca;
$custom-light: #bb72db;
$custom-dark: #000000;
JSON
{
  "hex": "#972dca",
  "rgb": {
    "r": 151,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 280.51,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53275,
    "c": 0.22979,
    "h": 311.6
  },
  "luminance": 0.1272
}

Semantic roles & 50–950 ramp

primary
#972DCA
secondary
#9CCF83
accent
#E74177
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #972DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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