#972CA9#972CA9

#972CA9 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.202 H 321.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#972CA9
RGBrgb(151, 44, 169)
HSLhsl(291, 59%, 42%)
HSVhsv(291, 74%, 66%)
CMYKcmyk(10.7%, 74%, 0%, 33.7%)
CIE-LABlab(39.99, 60.08, -45.01)
CIE-LCHlch(39.99, 75.07, 323.16°)
OKLaboklab(50.91% 0.1581 -0.1259)
OKLCHoklch(50.91% 0.202 321.5)
XYZxyz(20.8238, 11.2464, 38.6023)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972CA9 #3EA92C
analogous
#592CA9 #972CA9 #A92C7D
triadic
#972CA9 #A9972C #2CA997
tetradic
#972CA9 #A9592C #3EA92C #2C7DA9
square
#972CA9 #A9592C #3EA92C #2C7DA9
split-complementary
#972CA9 #7DA92C #2CA959
monochromatic
#401348 #6C1F78 #972CA9 #BA44CE #CC74DB

Accessibility & contrast

On white

6.46
#972CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#972CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972CA9
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972CA9#FFFFFF#000000##FFFFFF
##972CA91.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#3C62A6
Tritanopia (blue-blind)
#984468
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #972ca9;
/* rgb */ color: rgb(151, 44, 169);
/* oklch */ color: oklch(50.9% 0.202 321.5);
Tailwind
colors: {
  custom: {
    50: '#b970c3',
    500: '#972ca9',
    950: '#000000',
  },
}
SCSS
$custom: #972ca9;
$custom-light: #b970c3;
$custom-dark: #000000;
JSON
{
  "hex": "#972ca9",
  "rgb": {
    "r": 151,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 291.36,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50909,
    "c": 0.20212,
    "h": 321.5
  },
  "luminance": 0.11245
}

Semantic roles & 50–950 ramp

primary
#972CA9
secondary
#7AC36E
accent
#E2465C
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #972CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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