#972EA2#972EA2

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

Color values

HEX#972EA2
RGBrgb(151, 46, 162)
HSLhsl(294, 56%, 41%)
HSVhsv(294, 72%, 64%)
CMYKcmyk(6.8%, 71.6%, 0%, 36.5%)
CIE-LABlab(39.82, 58.07, -41.10)
CIE-LCHlch(39.82, 71.15, 324.71°)
OKLaboklab(50.65% 0.1565 -0.1145)
OKLCHoklch(50.65% 0.194 323.8)
XYZxyz(20.2605, 11.1432, 35.2591)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972EA2 #39A22E
analogous
#5D2EA2 #972EA2 #A22E73
triadic
#972EA2 #A2972E #2EA297
tetradic
#972EA2 #A25D2E #39A22E #2E73A2
square
#972EA2 #A25D2E #39A22E #2E73A2
split-complementary
#972EA2 #73A22E #2EA25D
monochromatic
#3E1343 #6B2072 #972EA2 #BD43CA #CE73D7

Accessibility & contrast

On white

6.50
#972EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#972EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972EA2
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972EA2#FFFFFF#000000##FFFFFF
##972EA21.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0656A5
Deuteranopia (green-blind)
#42629F
Tritanopia (blue-blind)
#9A4265
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #972ea2;
/* rgb */ color: rgb(151, 46, 162);
/* oklch */ color: oklch(50.6% 0.194 323.8);
Tailwind
colors: {
  custom: {
    50: '#b971be',
    500: '#972ea2',
    950: '#000000',
  },
}
SCSS
$custom: #972ea2;
$custom-light: #b971be;
$custom-dark: #000000;
JSON
{
  "hex": "#972ea2",
  "rgb": {
    "r": 151,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 294.31,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50649,
    "c": 0.19392,
    "h": 323.8
  },
  "luminance": 0.11142
}

Semantic roles & 50–950 ramp

primary
#972EA2
secondary
#75BF6D
accent
#DF4957
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #972EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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