#972DC0#972DC0

#972DC0 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.221 H 314.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#972DC0
RGBrgb(151, 45, 192)
HSLhsl(283, 62%, 46%)
HSVhsv(283, 77%, 75%)
CMYKcmyk(21.4%, 76.6%, 0%, 24.7%)
CIE-LABlab(41.63, 64.13, -55.96)
CIE-LCHlch(41.63, 85.12, 318.89°)
OKLaboklab(52.55% 0.1544 -0.158)
OKLCHoklch(52.55% 0.221 314.3)
XYZxyz(23.2137, 12.2627, 51.0031)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972DC0 #56C02D
analogous
#4E2DC0 #972DC0 #C02DA0
triadic
#972DC0 #C0972D #2DC097
tetradic
#972DC0 #C04E2D #56C02D #2DA0C0
square
#972DC0 #C04E2D #56C02D #2DA0C0
split-complementary
#972DC0 #A0C02D #2DC04E
monochromatic
#49165D #70218E #972DC0 #B253D7 #C885E2

Accessibility & contrast

On white

6.08
#972DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#972DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972DC0
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972DC0#FFFFFF#000000##FFFFFF
##972DC01.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#2265BD
Tritanopia (blue-blind)
#934F76
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #972dc0;
/* rgb */ color: rgb(151, 45, 192);
/* oklch */ color: oklch(52.6% 0.221 314.3);
Tailwind
colors: {
  custom: {
    50: '#ba72d4',
    500: '#972dc0',
    950: '#000000',
  },
}
SCSS
$custom: #972dc0;
$custom-light: #ba72d4;
$custom-dark: #000000;
JSON
{
  "hex": "#972dc0",
  "rgb": {
    "r": 151,
    "g": 45,
    "b": 192
  },
  "hsl": {
    "h": 283.265,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52552,
    "c": 0.22097,
    "h": 314.3
  },
  "luminance": 0.12262
}

Semantic roles & 50–950 ramp

primary
#972DC0
secondary
#93CC7D
accent
#E54370
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #972DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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