#972EA0#972EA0

#972EA0 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.192 H 324.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#972EA0
RGBrgb(151, 46, 160)
HSLhsl(295, 55%, 40%)
HSVhsv(295, 71%, 63%)
CMYKcmyk(5.6%, 71.2%, 0%, 37.3%)
CIE-LABlab(39.70, 57.71, -40.09)
CIE-LCHlch(39.70, 70.27, 325.22°)
OKLaboklab(50.53% 0.1565 -0.1116)
OKLCHoklch(50.53% 0.192 324.5)
XYZxyz(20.0841, 11.0726, 34.3303)
Luminance0.1107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972EA0 #37A02E
analogous
#5E2EA0 #972EA0 #A02E70
triadic
#972EA0 #A0972E #2EA097
tetradic
#972EA0 #A05E2E #37A02E #2E70A0
square
#972EA0 #A05E2E #37A02E #2E70A0
split-complementary
#972EA0 #70A02E #2EA05E
monochromatic
#3D1341 #6A2070 #972EA0 #BE42C9 #CF72D6

Accessibility & contrast

On white

6.53
#972EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #972EA0
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972EA0#FFFFFF#000000##FFFFFF
##972EA01.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D55A3
Deuteranopia (green-blind)
#44629D
Tritanopia (blue-blind)
#9A4164
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #972ea0;
/* rgb */ color: rgb(151, 46, 160);
/* oklch */ color: oklch(50.5% 0.192 324.5);
Tailwind
colors: {
  custom: {
    50: '#b971bc',
    500: '#972ea0',
    950: '#000000',
  },
}
SCSS
$custom: #972ea0;
$custom-light: #b971bc;
$custom-dark: #000000;
JSON
{
  "hex": "#972ea0",
  "rgb": {
    "r": 151,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 295.263,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50527,
    "c": 0.19222,
    "h": 324.5
  },
  "luminance": 0.11071
}

Semantic roles & 50–950 ramp

primary
#972EA0
secondary
#72BE6C
accent
#DF4955
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #972EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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