#972CA2#972CA2

#972CA2 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.196 H 323.9°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#972CA2
RGBrgb(151, 44, 162)
HSLhsl(294, 57%, 40%)
HSVhsv(294, 73%, 64%)
CMYKcmyk(6.8%, 72.8%, 0%, 36.5%)
CIE-LABlab(39.56, 58.80, -41.51)
CIE-LCHlch(39.56, 71.98, 324.78°)
OKLaboklab(50.47% 0.1585 -0.1157)
OKLCHoklch(50.47% 0.196 323.9)
XYZxyz(20.1842, 10.9905, 35.2337)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972CA2 #37A22C
analogous
#5C2CA2 #972CA2 #A22C72
triadic
#972CA2 #A2972C #2CA297
tetradic
#972CA2 #A25C2C #37A22C #2C72A2
square
#972CA2 #A25C2C #37A22C #2C72A2
split-complementary
#972CA2 #72A22C #2CA25C
monochromatic
#3D1242 #6A1F72 #972CA2 #BE40CB #CF70D8

Accessibility & contrast

On white

6.57
#972CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#972CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972CA2
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972CA2#FFFFFF#000000##FFFFFF
##972CA21.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#41619F
Tritanopia (blue-blind)
#9A4164
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #972ca2;
/* rgb */ color: rgb(151, 44, 162);
/* oklch */ color: oklch(50.5% 0.196 323.9);
Tailwind
colors: {
  custom: {
    50: '#b970be',
    500: '#972ca2',
    950: '#000000',
  },
}
SCSS
$custom: #972ca2;
$custom-light: #b970be;
$custom-dark: #000000;
JSON
{
  "hex": "#972ca2",
  "rgb": {
    "r": 151,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 294.407,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50466,
    "c": 0.19622,
    "h": 323.9
  },
  "luminance": 0.10989
}

Semantic roles & 50–950 ramp

primary
#972CA2
secondary
#72BF6A
accent
#E14756
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #972CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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