#972DB3#972DB3

#972DB3 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.210 H 318.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#972DB3
RGBrgb(151, 45, 179)
HSLhsl(287, 60%, 44%)
HSVhsv(287, 75%, 70%)
CMYKcmyk(15.6%, 74.9%, 0%, 29.8%)
CIE-LABlab(40.75, 61.60, -49.73)
CIE-LCHlch(40.75, 79.17, 321.09°)
OKLaboklab(51.65% 0.1562 -0.1398)
OKLCHoklch(51.65% 0.21 318.2)
XYZxyz(21.8364, 11.7118, 43.7495)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972DB3 #49B32D
analogous
#542DB3 #972DB3 #B32D8C
triadic
#972DB3 #B3972D #2DB397
tetradic
#972DB3 #B3542D #49B32D #2D8CB3
square
#972DB3 #B3542D #49B32D #2D8CB3
split-complementary
#972DB3 #8CB32D #2DB354
monochromatic
#441451 #6E2182 #972DB3 #B64BD2 #CA7CDE

Accessibility & contrast

On white

6.28
#972DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#972DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972DB3
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972DB3#FFFFFF#000000##FFFFFF
##972DB31.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#3363B0
Tritanopia (blue-blind)
#96496E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #972db3;
/* rgb */ color: rgb(151, 45, 179);
/* oklch */ color: oklch(51.7% 0.210 318.2);
Tailwind
colors: {
  custom: {
    50: '#ba71ca',
    500: '#972db3',
    950: '#000000',
  },
}
SCSS
$custom: #972db3;
$custom-light: #ba71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#972db3",
  "rgb": {
    "r": 151,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 287.463,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51654,
    "c": 0.20961,
    "h": 318.2
  },
  "luminance": 0.11711
}

Semantic roles & 50–950 ramp

primary
#972DB3
secondary
#86C775
accent
#E34566
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #972DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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