#972CC3#972CC3

#972CC3 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.7% C 0.225 H 313.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#972CC3
RGBrgb(151, 44, 195)
HSLhsl(283, 63%, 47%)
HSVhsv(283, 77%, 76%)
CMYKcmyk(22.6%, 77.4%, 0%, 23.5%)
CIE-LABlab(41.72, 65.07, -57.57)
CIE-LCHlch(41.72, 86.88, 318.50°)
OKLaboklab(52.68% 0.1548 -0.1627)
OKLCHoklch(52.68% 0.225 313.6)
XYZxyz(23.5118, 12.3216, 52.7590)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972CC3 #58C32C
analogous
#4C2CC3 #972CC3 #C32CA3
triadic
#972CC3 #C3972C #2CC397
tetradic
#972CC3 #C34C2C #58C32C #2CA3C3
square
#972CC3 #C34C2C #58C32C #2CA3C3
split-complementary
#972CC3 #A3C32C #2CC34C
monochromatic
#4A155F #702191 #972CC3 #B254D8 #C886E4

Accessibility & contrast

On white

6.06
#972CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#972CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972CC3
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972CC3#FFFFFF#000000##FFFFFF
##972CC31.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#1B65C0
Tritanopia (blue-blind)
#925077
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #972cc3;
/* rgb */ color: rgb(151, 44, 195);
/* oklch */ color: oklch(52.7% 0.225 313.6);
Tailwind
colors: {
  custom: {
    50: '#ba71d6',
    500: '#972cc3',
    950: '#000000',
  },
}
SCSS
$custom: #972cc3;
$custom-light: #ba71d6;
$custom-dark: #000000;
JSON
{
  "hex": "#972cc3",
  "rgb": {
    "r": 151,
    "g": 44,
    "b": 195
  },
  "hsl": {
    "h": 282.517,
    "s": 63.18,
    "l": 46.863
  },
  "oklch": {
    "l": 0.52683,
    "c": 0.22458,
    "h": 313.6
  },
  "luminance": 0.12321
}

Semantic roles & 50–950 ramp

primary
#972CC3
secondary
#95CD7E
accent
#E64272
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #972CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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