#972AC2#972AC2

#972AC2 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.5% C 0.226 H 313.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#972AC2
RGBrgb(151, 42, 194)
HSLhsl(283, 64%, 46%)
HSVhsv(283, 78%, 76%)
CMYKcmyk(22.2%, 78.4%, 0%, 23.9%)
CIE-LABlab(41.42, 65.53, -57.47)
CIE-LCHlch(41.42, 87.16, 318.75°)
OKLaboklab(52.45% 0.1566 -0.1624)
OKLCHoklch(52.45% 0.226 313.9)
XYZxyz(23.3264, 12.1311, 52.1413)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972AC2 #55C22A
analogous
#4B2AC2 #972AC2 #C22AA1
triadic
#972AC2 #C2972A #2AC297
tetradic
#972AC2 #C24B2A #55C22A #2AA1C2
square
#972AC2 #C24B2A #55C22A #2AA1C2
split-complementary
#972AC2 #A1C22A #2AC24B
monochromatic
#49145D #701F90 #972AC2 #B250D9 #C882E4

Accessibility & contrast

On white

6.13
#972AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#972AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972AC2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972AC2#FFFFFF#000000##FFFFFF
##972AC21.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#1A64BF
Tritanopia (blue-blind)
#934E76
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #972ac2;
/* rgb */ color: rgb(151, 42, 194);
/* oklch */ color: oklch(52.5% 0.226 313.9);
Tailwind
colors: {
  custom: {
    50: '#ba71d5',
    500: '#972ac2',
    950: '#000000',
  },
}
SCSS
$custom: #972ac2;
$custom-light: #ba71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#972ac2",
  "rgb": {
    "r": 151,
    "g": 42,
    "b": 194
  },
  "hsl": {
    "h": 283.026,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52451,
    "c": 0.22561,
    "h": 313.9
  },
  "luminance": 0.1213
}

Semantic roles & 50–950 ramp

primary
#972AC2
secondary
#92CD7B
accent
#E74070
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #972AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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