#972FA1#972FA1

#972FA1 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.192 H 324.1°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#972FA1
RGBrgb(151, 47, 161)
HSLhsl(295, 55%, 41%)
HSVhsv(295, 71%, 63%)
CMYKcmyk(6.2%, 70.8%, 0%, 36.9%)
CIE-LABlab(39.89, 57.52, -40.38)
CIE-LCHlch(39.89, 70.28, 324.93°)
OKLaboklab(50.68% 0.1555 -0.1124)
OKLCHoklch(50.68% 0.192 324.1)
XYZxyz(20.2115, 11.1868, 34.8060)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972FA1 #39A12F
analogous
#5E2FA1 #972FA1 #A12F72
triadic
#972FA1 #A1972F #2FA197
tetradic
#972FA1 #A15E2F #39A12F #2F72A1
square
#972FA1 #A15E2F #39A12F #2F72A1
split-complementary
#972FA1 #72A12F #2FA15E
monochromatic
#3E1342 #6B2172 #972FA1 #BD45C9 #CE74D6

Accessibility & contrast

On white

6.49
#972FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#972FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972FA1
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972FA1#FFFFFF#000000##FFFFFF
##972FA11.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D56A4
Deuteranopia (green-blind)
#43629E
Tritanopia (blue-blind)
#9A4265
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #972fa1;
/* rgb */ color: rgb(151, 47, 161);
/* oklch */ color: oklch(50.7% 0.192 324.1);
Tailwind
colors: {
  custom: {
    50: '#b971bd',
    500: '#972fa1',
    950: '#000000',
  },
}
SCSS
$custom: #972fa1;
$custom-light: #b971bd;
$custom-dark: #000000;
JSON
{
  "hex": "#972fa1",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 294.737,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50683,
    "c": 0.19188,
    "h": 324.1
  },
  "luminance": 0.11186
}

Semantic roles & 50–950 ramp

primary
#972FA1
secondary
#75BE6E
accent
#DE4A57
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #972FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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