#972DAB#972DAB

#972DAB is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.1% C 0.203 H 320.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#972DAB
RGBrgb(151, 45, 171)
HSLhsl(290, 58%, 42%)
HSVhsv(290, 74%, 67%)
CMYKcmyk(11.7%, 73.7%, 0%, 32.9%)
CIE-LABlab(40.24, 60.09, -45.81)
CIE-LCHlch(40.24, 75.56, 322.68°)
OKLaboklab(51.13% 0.157 -0.1283)
OKLCHoklch(51.13% 0.203 320.7)
XYZxyz(21.0507, 11.3975, 39.6113)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972DAB #41AB2D
analogous
#582DAB #972DAB #AB2D80
triadic
#972DAB #AB972D #2DAB97
tetradic
#972DAB #AB582D #41AB2D #2D80AB
square
#972DAB #AB582D #41AB2D #2D80AB
split-complementary
#972DAB #80AB2D #2DAB58
monochromatic
#41144A #6C207B #972DAB #B947CE #CB77DB

Accessibility & contrast

On white

6.40
#972DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#972DAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972DAB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972DAB#FFFFFF#000000##FFFFFF
##972DAB1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#3B63A8
Tritanopia (blue-blind)
#98456A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #972dab;
/* rgb */ color: rgb(151, 45, 171);
/* oklch */ color: oklch(51.1% 0.203 320.7);
Tailwind
colors: {
  custom: {
    50: '#b971c5',
    500: '#972dab',
    950: '#000000',
  },
}
SCSS
$custom: #972dab;
$custom-light: #b971c5;
$custom-dark: #000000;
JSON
{
  "hex": "#972dab",
  "rgb": {
    "r": 151,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 290.476,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51127,
    "c": 0.20272,
    "h": 320.7
  },
  "luminance": 0.11396
}

Semantic roles & 50–950 ramp

primary
#972DAB
secondary
#7EC371
accent
#E2465F
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #972DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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