#972ABD#972ABD

#972ABD is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.1% C 0.221 H 315.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#972ABD
RGBrgb(151, 42, 189)
HSLhsl(284, 64%, 45%)
HSVhsv(284, 78%, 74%)
CMYKcmyk(20.1%, 77.8%, 0%, 25.9%)
CIE-LABlab(41.07, 64.55, -55.11)
CIE-LCHlch(41.07, 84.87, 319.51°)
OKLaboklab(52.09% 0.1574 -0.1555)
OKLCHoklch(52.09% 0.221 315.4)
XYZxyz(22.7743, 11.9102, 49.2335)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972ABD #50BD2A
analogous
#4E2ABD #972ABD #BD2A99
triadic
#972ABD #BD972A #2ABD97
tetradic
#972ABD #BD4E2A #50BD2A #2A99BD
square
#972ABD #BD4E2A #50BD2A #2A99BD
split-complementary
#972ABD #99BD2A #2ABD4E
monochromatic
#471459 #6F1F8B #972ABD #B44DD7 #C97FE3

Accessibility & contrast

On white

6.21
#972ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#972ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972ABD
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972ABD#FFFFFF#000000##FFFFFF
##972ABD1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#2464BA
Tritanopia (blue-blind)
#944C73
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #972abd;
/* rgb */ color: rgb(151, 42, 189);
/* oklch */ color: oklch(52.1% 0.221 315.4);
Tailwind
colors: {
  custom: {
    50: '#ba70d2',
    500: '#972abd',
    950: '#000000',
  },
}
SCSS
$custom: #972abd;
$custom-light: #ba70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#972abd",
  "rgb": {
    "r": 151,
    "g": 42,
    "b": 189
  },
  "hsl": {
    "h": 284.49,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52093,
    "c": 0.2213,
    "h": 315.4
  },
  "luminance": 0.11909
}

Semantic roles & 50–950 ramp

primary
#972ABD
secondary
#8DCB78
accent
#E7416C
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #972ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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