#972FA3#972FA3

#972FA3 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.8% C 0.194 H 323.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#972FA3
RGBrgb(151, 47, 163)
HSLhsl(294, 55%, 41%)
HSVhsv(294, 71%, 64%)
CMYKcmyk(7.4%, 71.2%, 0%, 36.1%)
CIE-LABlab(40.01, 57.88, -41.39)
CIE-LCHlch(40.01, 71.16, 324.43°)
OKLaboklab(50.81% 0.1554 -0.1154)
OKLCHoklch(50.81% 0.194 323.4)
XYZxyz(20.3893, 11.2579, 35.7423)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972FA3 #3BA32F
analogous
#5D2FA3 #972FA3 #A32F75
triadic
#972FA3 #A3972F #2FA397
tetradic
#972FA3 #A35D2F #3BA32F #2F75A3
square
#972FA3 #A35D2F #3BA32F #2F75A3
split-complementary
#972FA3 #75A32F #2FA35D
monochromatic
#3F1444 #6B2173 #972FA3 #BC46CA #CD75D7

Accessibility & contrast

On white

6.46
#972FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#972FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972FA3
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972FA3#FFFFFF#000000##FFFFFF
##972FA31.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0756A6
Deuteranopia (green-blind)
#4262A0
Tritanopia (blue-blind)
#9A4366
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #972fa3;
/* rgb */ color: rgb(151, 47, 163);
/* oklch */ color: oklch(50.8% 0.194 323.4);
Tailwind
colors: {
  custom: {
    50: '#b971bf',
    500: '#972fa3',
    950: '#000000',
  },
}
SCSS
$custom: #972fa3;
$custom-light: #b971bf;
$custom-dark: #000000;
JSON
{
  "hex": "#972fa3",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 293.793,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50805,
    "c": 0.19359,
    "h": 323.4
  },
  "luminance": 0.11257
}

Semantic roles & 50–950 ramp

primary
#972FA3
secondary
#77BF6F
accent
#DF4959
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #972FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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