#972FA6#972FA6

#972FA6 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.196 H 322.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#972FA6
RGBrgb(151, 47, 166)
HSLhsl(292, 56%, 42%)
HSVhsv(292, 72%, 65%)
CMYKcmyk(9%, 71.7%, 0%, 34.9%)
CIE-LABlab(40.19, 58.43, -42.90)
CIE-LCHlch(40.19, 72.49, 323.71°)
OKLaboklab(50.99% 0.1553 -0.1198)
OKLCHoklch(50.99% 0.196 322.4)
XYZxyz(20.6612, 11.3667, 37.1747)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972FA6 #3EA62F
analogous
#5C2FA6 #972FA6 #A62F7A
triadic
#972FA6 #A6972F #2FA697
tetradic
#972FA6 #A65C2F #3EA62F #2F7AA6
square
#972FA6 #A65C2F #3EA62F #2F7AA6
split-complementary
#972FA6 #7AA62F #2FA65C
monochromatic
#401447 #6C2176 #972FA6 #BA47CB #CC77D8

Accessibility & contrast

On white

6.42
#972FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #972FA6
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972FA6#FFFFFF#000000##FFFFFF
##972FA61.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#4063A3
Tritanopia (blue-blind)
#994467
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #972fa6;
/* rgb */ color: rgb(151, 47, 166);
/* oklch */ color: oklch(51.0% 0.196 322.4);
Tailwind
colors: {
  custom: {
    50: '#b972c1',
    500: '#972fa6',
    950: '#000000',
  },
}
SCSS
$custom: #972fa6;
$custom-light: #b972c1;
$custom-dark: #000000;
JSON
{
  "hex": "#972fa6",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 292.437,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50992,
    "c": 0.19615,
    "h": 322.4
  },
  "luminance": 0.11366
}

Semantic roles & 50–950 ramp

primary
#972FA6
secondary
#7AC170
accent
#DF495C
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #972FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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