#972AC3#972AC3

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

Color values

HEX#972AC3
RGBrgb(151, 42, 195)
HSLhsl(283, 65%, 46%)
HSVhsv(283, 78%, 76%)
CMYKcmyk(22.6%, 78.5%, 0%, 23.5%)
CIE-LABlab(41.49, 65.73, -57.93)
CIE-LCHlch(41.49, 87.62, 318.61°)
OKLaboklab(52.52% 0.1564 -0.1638)
OKLCHoklch(52.52% 0.226 313.7)
XYZxyz(23.4391, 12.1761, 52.7347)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972AC3 #56C32A
analogous
#4B2AC3 #972AC3 #C32AA3
triadic
#972AC3 #C3972A #2AC397
tetradic
#972AC3 #C34B2A #56C32A #2AA3C3
square
#972AC3 #C34B2A #56C32A #2AA3C3
split-complementary
#972AC3 #A3C32A #2AC34B
monochromatic
#49145E #701F91 #972AC3 #B251D9 #C883E4

Accessibility & contrast

On white

6.11
#972AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#972AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972AC3
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972AC3#FFFFFF#000000##FFFFFF
##972AC31.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#1864C0
Tritanopia (blue-blind)
#924F77
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #972ac3;
/* rgb */ color: rgb(151, 42, 195);
/* oklch */ color: oklch(52.5% 0.226 313.7);
Tailwind
colors: {
  custom: {
    50: '#ba71d6',
    500: '#972ac3',
    950: '#000000',
  },
}
SCSS
$custom: #972ac3;
$custom-light: #ba71d6;
$custom-dark: #000000;
JSON
{
  "hex": "#972ac3",
  "rgb": {
    "r": 151,
    "g": 42,
    "b": 195
  },
  "hsl": {
    "h": 282.745,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52523,
    "c": 0.22648,
    "h": 313.7
  },
  "luminance": 0.12175
}

Semantic roles & 50–950 ramp

primary
#972AC3
secondary
#93CD7B
accent
#E84070
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #972AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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