#972FA2#972FA2

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

Color values

HEX#972FA2
RGBrgb(151, 47, 162)
HSLhsl(294, 55%, 41%)
HSVhsv(294, 71%, 64%)
CMYKcmyk(6.8%, 71%, 0%, 36.5%)
CIE-LABlab(39.95, 57.70, -40.89)
CIE-LCHlch(39.95, 70.72, 324.68°)
OKLaboklab(50.74% 0.1555 -0.1139)
OKLCHoklch(50.74% 0.193 323.8)
XYZxyz(20.3000, 11.2222, 35.2723)
Luminance0.1122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972FA2 #3AA22F
analogous
#5D2FA2 #972FA2 #A22F73
triadic
#972FA2 #A2972F #2FA297
tetradic
#972FA2 #A25D2F #3AA22F #2F73A2
square
#972FA2 #A25D2F #3AA22F #2F73A2
split-complementary
#972FA2 #73A22F #2FA25D
monochromatic
#3F1343 #6B2173 #972FA2 #BC45C9 #CD75D7

Accessibility & contrast

On white

6.47
#972FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #972FA2
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972FA2#FFFFFF#000000##FFFFFF
##972FA21.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A56A5
Deuteranopia (green-blind)
#43629F
Tritanopia (blue-blind)
#9A4365
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #972fa2;
/* rgb */ color: rgb(151, 47, 162);
/* oklch */ color: oklch(50.7% 0.193 323.8);
Tailwind
colors: {
  custom: {
    50: '#b971be',
    500: '#972fa2',
    950: '#000000',
  },
}
SCSS
$custom: #972fa2;
$custom-light: #b971be;
$custom-dark: #000000;
JSON
{
  "hex": "#972fa2",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 294.261,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50744,
    "c": 0.19273,
    "h": 323.8
  },
  "luminance": 0.11221
}

Semantic roles & 50–950 ramp

primary
#972FA2
secondary
#76BF6E
accent
#DE4958
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #972FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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