#972CCC#972CCC

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

Color values

HEX#972CCC
RGBrgb(151, 44, 204)
HSLhsl(280, 65%, 49%)
HSVhsv(280, 78%, 80%)
CMYKcmyk(26%, 78.4%, 0%, 20%)
CIE-LABlab(42.37, 66.87, -61.75)
CIE-LCHlch(42.37, 91.02, 317.28°)
OKLaboklab(53.34% 0.153 -0.175)
OKLCHoklch(53.34% 0.232 311.2)
XYZxyz(24.5602, 12.7409, 58.2805)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972CCC #61CC2C
analogous
#472CCC #972CCC #CC2CB1
triadic
#972CCC #CC972C #2CCC97
tetradic
#972CCC #CC472C #61CC2C #2CB1CC
square
#972CCC #CC472C #61CC2C #2CB1CC
split-complementary
#972CCC #B1CC2C #2CCC47
monochromatic
#4C1667 #72219A #972CCC #B05ADB #C88CE6

Accessibility & contrast

On white

5.92
#972CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#972CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972CCC
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972CCC#FFFFFF#000000##FFFFFF
##972CCC1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#90547C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #972ccc;
/* rgb */ color: rgb(151, 44, 204);
/* oklch */ color: oklch(53.3% 0.232 311.2);
Tailwind
colors: {
  custom: {
    50: '#bb72dc',
    500: '#972ccc',
    950: '#000000',
  },
}
SCSS
$custom: #972ccc;
$custom-light: #bb72dc;
$custom-dark: #000000;
JSON
{
  "hex": "#972ccc",
  "rgb": {
    "r": 151,
    "g": 44,
    "b": 204
  },
  "hsl": {
    "h": 280.125,
    "s": 64.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53342,
    "c": 0.23248,
    "h": 311.2
  },
  "luminance": 0.1274
}

Semantic roles & 50–950 ramp

primary
#972CCC
secondary
#9DD083
accent
#E84078
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #972CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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