#972CA4#972CA4

#972CA4 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.198 H 323.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#972CA4
RGBrgb(151, 44, 164)
HSLhsl(294, 58%, 41%)
HSVhsv(294, 73%, 64%)
CMYKcmyk(7.9%, 73.2%, 0%, 35.7%)
CIE-LABlab(39.69, 59.16, -42.51)
CIE-LCHlch(39.69, 72.86, 324.30°)
OKLaboklab(50.59% 0.1584 -0.1186)
OKLCHoklch(50.59% 0.198 323.2)
XYZxyz(20.3634, 11.0622, 36.1774)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972CA4 #39A42C
analogous
#5B2CA4 #972CA4 #A42C75
triadic
#972CA4 #A4972C #2CA497
tetradic
#972CA4 #A45B2C #39A42C #2C75A4
square
#972CA4 #A45B2C #39A42C #2C75A4
split-complementary
#972CA4 #75A42C #2CA45B
monochromatic
#3E1243 #6B1F74 #972CA4 #BD41CC #CE71D9

Accessibility & contrast

On white

6.54
#972CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#972CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972CA4
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972CA4#FFFFFF#000000##FFFFFF
##972CA41.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#4062A1
Tritanopia (blue-blind)
#994266
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #972ca4;
/* rgb */ color: rgb(151, 44, 164);
/* oklch */ color: oklch(50.6% 0.198 323.2);
Tailwind
colors: {
  custom: {
    50: '#b970bf',
    500: '#972ca4',
    950: '#000000',
  },
}
SCSS
$custom: #972ca4;
$custom-light: #b970bf;
$custom-dark: #000000;
JSON
{
  "hex": "#972ca4",
  "rgb": {
    "r": 151,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 293.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50591,
    "c": 0.1979,
    "h": 323.2
  },
  "luminance": 0.11061
}

Semantic roles & 50–950 ramp

primary
#972CA4
secondary
#75C06B
accent
#E14758
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #972CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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