#972FB4#972FB4

#972FB4 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.208 H 317.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#972FB4
RGBrgb(151, 47, 180)
HSLhsl(287, 59%, 45%)
HSVhsv(287, 74%, 71%)
CMYKcmyk(16.1%, 73.9%, 0%, 29.4%)
CIE-LABlab(41.07, 61.08, -49.81)
CIE-LCHlch(41.07, 78.81, 320.80°)
OKLaboklab(51.9% 0.1543 -0.14)
OKLCHoklch(51.9% 0.208 317.8)
XYZxyz(22.0161, 11.9086, 44.3101)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972FB4 #4CB42F
analogous
#542FB4 #972FB4 #B42F8F
triadic
#972FB4 #B4972F #2FB497
tetradic
#972FB4 #B4542F #4CB42F #2F8FB4
square
#972FB4 #B4542F #4CB42F #2F8FB4
split-complementary
#972FB4 #8FB42F #2FB454
monochromatic
#461653 #6E2283 #972FB4 #B54FD1 #C980DE

Accessibility & contrast

On white

6.21
#972FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#972FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972FB4
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972FB4#FFFFFF#000000##FFFFFF
##972FB41.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#3464B1
Tritanopia (blue-blind)
#964B6F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #972fb4;
/* rgb */ color: rgb(151, 47, 180);
/* oklch */ color: oklch(51.9% 0.208 317.8);
Tailwind
colors: {
  custom: {
    50: '#ba72cb',
    500: '#972fb4',
    950: '#000000',
  },
}
SCSS
$custom: #972fb4;
$custom-light: #ba72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#972fb4",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 286.917,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51899,
    "c": 0.20832,
    "h": 317.8
  },
  "luminance": 0.11908
}

Semantic roles & 50–950 ramp

primary
#972FB4
secondary
#89C778
accent
#E24668
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #972FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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