#972FA5#972FA5

#972FA5 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.195 H 322.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#972FA5
RGBrgb(151, 47, 165)
HSLhsl(293, 56%, 42%)
HSVhsv(293, 72%, 65%)
CMYKcmyk(8.5%, 71.5%, 0%, 35.3%)
CIE-LABlab(40.13, 58.25, -42.40)
CIE-LCHlch(40.13, 72.05, 323.95°)
OKLaboklab(50.93% 0.1554 -0.1183)
OKLCHoklch(50.93% 0.195 322.7)
XYZxyz(20.5699, 11.3301, 36.6935)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972FA5 #3DA52F
analogous
#5C2FA5 #972FA5 #A52F78
triadic
#972FA5 #A5972F #2FA597
tetradic
#972FA5 #A55C2F #3DA52F #2F78A5
square
#972FA5 #A55C2F #3DA52F #2F78A5
split-complementary
#972FA5 #78A52F #2FA55C
monochromatic
#401446 #6B2175 #972FA5 #BB47CB #CC76D8

Accessibility & contrast

On white

6.43
#972FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#972FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972FA5
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972FA5#FFFFFF#000000##FFFFFF
##972FA51.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A8
Deuteranopia (green-blind)
#4163A2
Tritanopia (blue-blind)
#994467
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #972fa5;
/* rgb */ color: rgb(151, 47, 165);
/* oklch */ color: oklch(50.9% 0.195 322.7);
Tailwind
colors: {
  custom: {
    50: '#b971c0',
    500: '#972fa5',
    950: '#000000',
  },
}
SCSS
$custom: #972fa5;
$custom-light: #b971c0;
$custom-dark: #000000;
JSON
{
  "hex": "#972fa5",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 292.881,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50929,
    "c": 0.19529,
    "h": 322.7
  },
  "luminance": 0.11329
}

Semantic roles & 50–950 ramp

primary
#972FA5
secondary
#79C070
accent
#DF495B
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #972FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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