#972FA9#972FA9

#972FA9 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.199 H 321.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#972FA9
RGBrgb(151, 47, 169)
HSLhsl(291, 56%, 42%)
HSVhsv(291, 72%, 66%)
CMYKcmyk(10.7%, 72.2%, 0%, 33.7%)
CIE-LABlab(40.37, 58.99, -44.40)
CIE-LCHlch(40.37, 73.83, 323.03°)
OKLaboklab(51.18% 0.1552 -0.1242)
OKLCHoklch(51.18% 0.199 321.3)
XYZxyz(20.9396, 11.4780, 38.6410)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972FA9 #41A92F
analogous
#5A2FA9 #972FA9 #A92F7E
triadic
#972FA9 #A9972F #2FA997
tetradic
#972FA9 #A95A2F #41A92F #2F7EA9
square
#972FA9 #A95A2F #41A92F #2F7EA9
split-complementary
#972FA9 #7EA92F #2FA95A
monochromatic
#411449 #6C2279 #972FA9 #B949CC #CB79DA

Accessibility & contrast

On white

6.37
#972FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#972FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972FA9
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972FA9#FFFFFF#000000##FFFFFF
##972FA91.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#3E63A6
Tritanopia (blue-blind)
#984669
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #972fa9;
/* rgb */ color: rgb(151, 47, 169);
/* oklch */ color: oklch(51.2% 0.199 321.3);
Tailwind
colors: {
  custom: {
    50: '#b972c3',
    500: '#972fa9',
    950: '#000000',
  },
}
SCSS
$custom: #972fa9;
$custom-light: #b972c3;
$custom-dark: #000000;
JSON
{
  "hex": "#972fa9",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 291.148,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51181,
    "c": 0.19873,
    "h": 321.3
  },
  "luminance": 0.11477
}

Semantic roles & 50–950 ramp

primary
#972FA9
secondary
#7EC272
accent
#E0485E
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #972FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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