#972DC7#972DC7

#972DC7 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.1% C 0.227 H 312.4°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#972DC7
RGBrgb(151, 45, 199)
HSLhsl(281, 63%, 48%)
HSVhsv(281, 77%, 78%)
CMYKcmyk(24.1%, 77.4%, 0%, 22%)
CIE-LABlab(42.12, 65.53, -59.25)
CIE-LCHlch(42.12, 88.34, 317.88°)
OKLaboklab(53.06% 0.1532 -0.1677)
OKLCHoklch(53.06% 0.227 312.4)
XYZxyz(24.0078, 12.5803, 55.1853)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972DC7 #5DC72D
analogous
#4A2DC7 #972DC7 #C72DAA
triadic
#972DC7 #C7972D #2DC797
tetradic
#972DC7 #C74A2D #5DC72D #2DAAC7
square
#972DC7 #C74A2D #5DC72D #2DAAC7
split-complementary
#972DC7 #AAC72D #2DC74A
monochromatic
#4B1663 #712295 #972DC7 #B158D9 #C88AE5

Accessibility & contrast

On white

5.97
#972DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#972DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972DC7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972DC7#FFFFFF#000000##FFFFFF
##972DC71.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#1265C4
Tritanopia (blue-blind)
#91527A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #972dc7;
/* rgb */ color: rgb(151, 45, 199);
/* oklch */ color: oklch(53.1% 0.227 312.4);
Tailwind
colors: {
  custom: {
    50: '#bb72d9',
    500: '#972dc7',
    950: '#000000',
  },
}
SCSS
$custom: #972dc7;
$custom-light: #bb72d9;
$custom-dark: #000000;
JSON
{
  "hex": "#972dc7",
  "rgb": {
    "r": 151,
    "g": 45,
    "b": 199
  },
  "hsl": {
    "h": 281.299,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53055,
    "c": 0.22714,
    "h": 312.4
  },
  "luminance": 0.1258
}

Semantic roles & 50–950 ramp

primary
#972DC7
secondary
#99CE81
accent
#E64275
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #972DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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