#972ABC#972ABC

#972ABC is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.220 H 315.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#972ABC
RGBrgb(151, 42, 188)
HSLhsl(285, 63%, 45%)
HSVhsv(285, 78%, 74%)
CMYKcmyk(19.7%, 77.7%, 0%, 26.3%)
CIE-LABlab(41.00, 64.36, -54.63)
CIE-LCHlch(41.00, 84.42, 319.67°)
OKLaboklab(52.02% 0.1576 -0.1541)
OKLCHoklch(52.02% 0.22 315.6)
XYZxyz(22.6661, 11.8670, 48.6638)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972ABC #4FBC2A
analogous
#4E2ABC #972ABC #BC2A98
triadic
#972ABC #BC972A #2ABC97
tetradic
#972ABC #BC4E2A #4FBC2A #2A98BC
square
#972ABC #BC4E2A #4FBC2A #2A98BC
split-complementary
#972ABC #98BC2A #2ABC4E
monochromatic
#471458 #6F1F8A #972ABC #B44CD7 #C97EE2

Accessibility & contrast

On white

6.23
#972ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#972ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972ABC
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972ABC#FFFFFF#000000##FFFFFF
##972ABC1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#2663B9
Tritanopia (blue-blind)
#944C73
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #972abc;
/* rgb */ color: rgb(151, 42, 188);
/* oklch */ color: oklch(52.0% 0.220 315.6);
Tailwind
colors: {
  custom: {
    50: '#ba70d1',
    500: '#972abc',
    950: '#000000',
  },
}
SCSS
$custom: #972abc;
$custom-light: #ba70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#972abc",
  "rgb": {
    "r": 151,
    "g": 42,
    "b": 188
  },
  "hsl": {
    "h": 284.795,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52023,
    "c": 0.22043,
    "h": 315.6
  },
  "luminance": 0.11866
}

Semantic roles & 50–950 ramp

primary
#972ABC
secondary
#8CCB77
accent
#E7416B
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #972ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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