#972FB3#972FB3

#972FB3 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.207 H 318.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#972FB3
RGBrgb(151, 47, 179)
HSLhsl(287, 58%, 44%)
HSVhsv(287, 74%, 70%)
CMYKcmyk(15.6%, 73.7%, 0%, 29.8%)
CIE-LABlab(41.01, 60.88, -49.33)
CIE-LCHlch(41.01, 78.36, 320.99°)
OKLaboklab(51.83% 0.1544 -0.1386)
OKLCHoklch(51.83% 0.207 318.1)
XYZxyz(21.9146, 11.8680, 43.7755)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972FB3 #4BB32F
analogous
#552FB3 #972FB3 #B32F8D
triadic
#972FB3 #B3972F #2FB397
tetradic
#972FB3 #B3552F #4BB32F #2F8DB3
square
#972FB3 #B3552F #4BB32F #2F8DB3
split-complementary
#972FB3 #8DB32F #2FB355
monochromatic
#451652 #6E2283 #972FB3 #B54FD1 #C97FDD

Accessibility & contrast

On white

6.23
#972FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#972FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972FB3
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972FB3#FFFFFF#000000##FFFFFF
##972FB31.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#3564B0
Tritanopia (blue-blind)
#964A6F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #972fb3;
/* rgb */ color: rgb(151, 47, 179);
/* oklch */ color: oklch(51.8% 0.207 318.1);
Tailwind
colors: {
  custom: {
    50: '#ba72ca',
    500: '#972fb3',
    950: '#000000',
  },
}
SCSS
$custom: #972fb3;
$custom-light: #ba72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#972fb3",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 287.273,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51833,
    "c": 0.20745,
    "h": 318.1
  },
  "luminance": 0.11867
}

Semantic roles & 50–950 ramp

primary
#972FB3
secondary
#88C678
accent
#E24667
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #972FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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