#972ABA#972ABA

#972ABA is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.219 H 316.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#972ABA
RGBrgb(151, 42, 186)
HSLhsl(285, 63%, 45%)
HSVhsv(285, 77%, 73%)
CMYKcmyk(18.8%, 77.4%, 0%, 27.1%)
CIE-LABlab(40.87, 63.97, -53.68)
CIE-LCHlch(40.87, 83.51, 320.00°)
OKLaboklab(51.88% 0.1579 -0.1513)
OKLCHoklch(51.88% 0.219 316.2)
XYZxyz(22.4520, 11.7813, 47.5362)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972ABA #4DBA2A
analogous
#4F2ABA #972ABA #BA2A95
triadic
#972ABA #BA972A #2ABA97
tetradic
#972ABA #BA4F2A #4DBA2A #2A95BA
square
#972ABA #BA4F2A #4DBA2A #2A95BA
split-complementary
#972ABA #95BA2A #2ABA4F
monochromatic
#461356 #6E1F88 #972ABA #B44BD6 #C97DE2

Accessibility & contrast

On white

6.26
#972ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#972ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972ABA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972ABA#FFFFFF#000000##FFFFFF
##972ABA1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#2863B7
Tritanopia (blue-blind)
#954B71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #972aba;
/* rgb */ color: rgb(151, 42, 186);
/* oklch */ color: oklch(51.9% 0.219 316.2);
Tailwind
colors: {
  custom: {
    50: '#ba70cf',
    500: '#972aba',
    950: '#000000',
  },
}
SCSS
$custom: #972aba;
$custom-light: #ba70cf;
$custom-dark: #000000;
JSON
{
  "hex": "#972aba",
  "rgb": {
    "r": 151,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 285.417,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51882,
    "c": 0.21872,
    "h": 316.2
  },
  "luminance": 0.1178
}

Semantic roles & 50–950 ramp

primary
#972ABA
secondary
#8ACA76
accent
#E6426A
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #972ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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