#972AAE#972AAE

#972AAE is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.208 H 319.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#972AAE
RGBrgb(151, 42, 174)
HSLhsl(290, 61%, 42%)
HSVhsv(290, 76%, 68%)
CMYKcmyk(13.2%, 75.9%, 0%, 31.8%)
CIE-LABlab(40.07, 61.69, -47.87)
CIE-LCHlch(40.07, 78.09, 322.19°)
OKLaboklab(51.06% 0.1595 -0.1343)
OKLCHoklch(51.06% 0.208 319.9)
XYZxyz(21.2295, 11.2923, 41.0976)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972AAE #41AE2A
analogous
#552AAE #972AAE #AE2A83
triadic
#972AAE #AE972A #2AAE97
tetradic
#972AAE #AE552A #41AE2A #2A83AE
square
#972AAE #AE552A #41AE2A #2A83AE
split-complementary
#972AAE #83AE2A #2AAE55
monochromatic
#41124B #6C1E7D #972AAE #B943D2 #CB75DE

Accessibility & contrast

On white

6.45
#972AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#972AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972AAE
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972AAE#FFFFFF#000000##FFFFFF
##972AAE1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#3662AB
Tritanopia (blue-blind)
#97456B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #972aae;
/* rgb */ color: rgb(151, 42, 174);
/* oklch */ color: oklch(51.1% 0.208 319.9);
Tailwind
colors: {
  custom: {
    50: '#ba70c7',
    500: '#972aae',
    950: '#000000',
  },
}
SCSS
$custom: #972aae;
$custom-light: #ba70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#972aae",
  "rgb": {
    "r": 151,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 289.545,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51064,
    "c": 0.20849,
    "h": 319.9
  },
  "luminance": 0.11291
}

Semantic roles & 50–950 ramp

primary
#972AAE
secondary
#7EC56F
accent
#E44460
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #972AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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