#972DB0#972DB0

#972DB0 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.207 H 319.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#972DB0
RGBrgb(151, 45, 176)
HSLhsl(289, 59%, 43%)
HSVhsv(289, 74%, 69%)
CMYKcmyk(14.2%, 74.4%, 0%, 31%)
CIE-LABlab(40.56, 61.03, -48.27)
CIE-LCHlch(40.56, 77.81, 321.66°)
OKLaboklab(51.45% 0.1565 -0.1355)
OKLCHoklch(51.45% 0.207 319.1)
XYZxyz(21.5363, 11.5917, 42.1689)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972DB0 #46B02D
analogous
#562DB0 #972DB0 #B02D87
triadic
#972DB0 #B0972D #2DB097
tetradic
#972DB0 #B0562D #46B02D #2D87B0
square
#972DB0 #B0562D #46B02D #2D87B0
split-complementary
#972DB0 #87B02D #2DB056
monochromatic
#43144F #6D217F #972DB0 #B74AD1 #CA7ADD

Accessibility & contrast

On white

6.33
#972DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#972DB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972DB0
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972DB0#FFFFFF#000000##FFFFFF
##972DB01.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#3663AD
Tritanopia (blue-blind)
#97486D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #972db0;
/* rgb */ color: rgb(151, 45, 176);
/* oklch */ color: oklch(51.5% 0.207 319.1);
Tailwind
colors: {
  custom: {
    50: '#b971c8',
    500: '#972db0',
    950: '#000000',
  },
}
SCSS
$custom: #972db0;
$custom-light: #b971c8;
$custom-dark: #000000;
JSON
{
  "hex": "#972db0",
  "rgb": {
    "r": 151,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 288.55,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51454,
    "c": 0.20703,
    "h": 319.1
  },
  "luminance": 0.11591
}

Semantic roles & 50–950 ramp

primary
#972DB0
secondary
#83C573
accent
#E24563
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #972DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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