#972EA9#972EA9

#972EA9 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.200 H 321.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#972EA9
RGBrgb(151, 46, 169)
HSLhsl(291, 57%, 42%)
HSVhsv(291, 73%, 66%)
CMYKcmyk(10.7%, 72.8%, 0%, 33.7%)
CIE-LABlab(40.24, 59.36, -44.61)
CIE-LCHlch(40.24, 74.25, 323.07°)
OKLaboklab(51.09% 0.1562 -0.1248)
OKLCHoklch(51.09% 0.2 321.4)
XYZxyz(20.9001, 11.3990, 38.6278)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972EA9 #40A92E
analogous
#5A2EA9 #972EA9 #A92E7D
triadic
#972EA9 #A9972E #2EA997
tetradic
#972EA9 #A95A2E #40A92E #2E7DA9
square
#972EA9 #A95A2E #40A92E #2E7DA9
split-complementary
#972EA9 #7DA92E #2EA95A
monochromatic
#411449 #6C2179 #972EA9 #B947CD #CC77DA

Accessibility & contrast

On white

6.40
#972EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#972EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972EA9
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972EA9#FFFFFF#000000##FFFFFF
##972EA91.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#3D63A6
Tritanopia (blue-blind)
#984569
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #972ea9;
/* rgb */ color: rgb(151, 46, 169);
/* oklch */ color: oklch(51.1% 0.200 321.4);
Tailwind
colors: {
  custom: {
    50: '#b971c3',
    500: '#972ea9',
    950: '#000000',
  },
}
SCSS
$custom: #972ea9;
$custom-light: #b971c3;
$custom-dark: #000000;
JSON
{
  "hex": "#972ea9",
  "rgb": {
    "r": 151,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 291.22,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51089,
    "c": 0.19988,
    "h": 321.4
  },
  "luminance": 0.11398
}

Semantic roles & 50–950 ramp

primary
#972EA9
secondary
#7DC271
accent
#E0475E
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #972EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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