#972BBD#972BBD

#972BBD is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.2% C 0.220 H 315.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#972BBD
RGBrgb(151, 43, 189)
HSLhsl(284, 63%, 45%)
HSVhsv(284, 77%, 74%)
CMYKcmyk(20.1%, 77.2%, 0%, 25.9%)
CIE-LABlab(41.19, 64.22, -54.92)
CIE-LCHlch(41.19, 84.50, 319.46°)
OKLaboklab(52.17% 0.1566 -0.155)
OKLCHoklch(52.17% 0.22 315.3)
XYZxyz(22.8102, 11.9821, 49.2455)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972BBD #51BD2B
analogous
#4E2BBD #972BBD #BD2B9A
triadic
#972BBD #BD972B #2BBD97
tetradic
#972BBD #BD4E2B #51BD2B #2B9ABD
square
#972BBD #BD4E2B #51BD2B #2B9ABD
split-complementary
#972BBD #9ABD2B #2BBD4E
monochromatic
#471459 #6F208B #972BBD #B34ED7 #C980E2

Accessibility & contrast

On white

6.18
#972BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#972BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972BBD
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972BBD#FFFFFF#000000##FFFFFF
##972BBD1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#2564BA
Tritanopia (blue-blind)
#944D73
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #972bbd;
/* rgb */ color: rgb(151, 43, 189);
/* oklch */ color: oklch(52.2% 0.220 315.3);
Tailwind
colors: {
  custom: {
    50: '#ba71d2',
    500: '#972bbd',
    950: '#000000',
  },
}
SCSS
$custom: #972bbd;
$custom-light: #ba71d2;
$custom-dark: #000000;
JSON
{
  "hex": "#972bbd",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 284.384,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52174,
    "c": 0.22033,
    "h": 315.3
  },
  "luminance": 0.11981
}

Semantic roles & 50–950 ramp

primary
#972BBD
secondary
#8ECB79
accent
#E6426D
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #972BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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