#972EB0#972EB0

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

Color values

HEX#972EB0
RGBrgb(151, 46, 176)
HSLhsl(288, 59%, 44%)
HSVhsv(288, 74%, 69%)
CMYKcmyk(14.2%, 73.9%, 0%, 31%)
CIE-LABlab(40.69, 60.67, -48.07)
CIE-LCHlch(40.69, 77.40, 321.61°)
OKLaboklab(51.54% 0.1556 -0.1349)
OKLCHoklch(51.54% 0.206 319.1)
XYZxyz(21.5749, 11.6689, 42.1818)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972EB0 #47B02E
analogous
#562EB0 #972EB0 #B02E88
triadic
#972EB0 #B0972E #2EB097
tetradic
#972EB0 #B0562E #47B02E #2E88B0
square
#972EB0 #B0562E #47B02E #2E88B0
split-complementary
#972EB0 #88B02E #2EB056
monochromatic
#44154F #6D217F #972EB0 #B64BD0 #CA7CDD

Accessibility & contrast

On white

6.30
#972EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#972EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972EB0
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972EB0#FFFFFF#000000##FFFFFF
##972EB01.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #972eb0;
/* rgb */ color: rgb(151, 46, 176);
/* oklch */ color: oklch(51.5% 0.206 319.1);
Tailwind
colors: {
  custom: {
    50: '#b971c8',
    500: '#972eb0',
    950: '#000000',
  },
}
SCSS
$custom: #972eb0;
$custom-light: #b971c8;
$custom-dark: #000000;
JSON
{
  "hex": "#972eb0",
  "rgb": {
    "r": 151,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 288.462,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51543,
    "c": 0.20593,
    "h": 319.1
  },
  "luminance": 0.11668
}

Semantic roles & 50–950 ramp

primary
#972EB0
secondary
#84C575
accent
#E24664
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #972EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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