#972EB3#972EB3

#972EB3 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.209 H 318.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#972EB3
RGBrgb(151, 46, 179)
HSLhsl(287, 59%, 44%)
HSVhsv(287, 74%, 70%)
CMYKcmyk(15.6%, 74.3%, 0%, 29.8%)
CIE-LABlab(40.88, 61.25, -49.53)
CIE-LCHlch(40.88, 78.77, 321.04°)
OKLaboklab(51.74% 0.1553 -0.1392)
OKLCHoklch(51.74% 0.209 318.1)
XYZxyz(21.8750, 11.7890, 43.7623)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972EB3 #4AB32E
analogous
#542EB3 #972EB3 #B32E8D
triadic
#972EB3 #B3972E #2EB397
tetradic
#972EB3 #B3542E #4AB32E #2E8DB3
square
#972EB3 #B3542E #4AB32E #2E8DB3
split-complementary
#972EB3 #8DB32E #2EB354
monochromatic
#451552 #6E2182 #972EB3 #B54DD1 #CA7EDE

Accessibility & contrast

On white

6.25
#972EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#972EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972EB3
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972EB3#FFFFFF#000000##FFFFFF
##972EB31.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#3464B0
Tritanopia (blue-blind)
#964A6E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #972eb3;
/* rgb */ color: rgb(151, 46, 179);
/* oklch */ color: oklch(51.7% 0.209 318.1);
Tailwind
colors: {
  custom: {
    50: '#ba72ca',
    500: '#972eb3',
    950: '#000000',
  },
}
SCSS
$custom: #972eb3;
$custom-light: #ba72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#972eb3",
  "rgb": {
    "r": 151,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 287.368,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51743,
    "c": 0.20854,
    "h": 318.1
  },
  "luminance": 0.11788
}

Semantic roles & 50–950 ramp

primary
#972EB3
secondary
#87C676
accent
#E24667
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #972EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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