#972BAD#972BAD

#972BAD is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.207 H 320.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#972BAD
RGBrgb(151, 43, 173)
HSLhsl(290, 60%, 42%)
HSVhsv(290, 75%, 68%)
CMYKcmyk(12.7%, 75.1%, 0%, 32.2%)
CIE-LABlab(40.12, 61.17, -47.19)
CIE-LCHlch(40.12, 77.25, 322.35°)
OKLaboklab(51.08% 0.1587 -0.1323)
OKLCHoklch(51.08% 0.207 320.2)
XYZxyz(21.1683, 11.3253, 40.5981)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972BAD #41AD2B
analogous
#562BAD #972BAD #AD2B82
triadic
#972BAD #AD972B #2BAD97
tetradic
#972BAD #AD562B #41AD2B #2B82AD
square
#972BAD #AD562B #41AD2B #2B82AD
split-complementary
#972BAD #82AD2B #2BAD56
monochromatic
#41134B #6C1F7C #972BAD #B945D1 #CB76DD

Accessibility & contrast

On white

6.43
#972BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#972BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972BAD
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972BAD#FFFFFF#000000##FFFFFF
##972BAD1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#3862AA
Tritanopia (blue-blind)
#98456A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #972bad;
/* rgb */ color: rgb(151, 43, 173);
/* oklch */ color: oklch(51.1% 0.207 320.2);
Tailwind
colors: {
  custom: {
    50: '#b970c6',
    500: '#972bad',
    950: '#000000',
  },
}
SCSS
$custom: #972bad;
$custom-light: #b970c6;
$custom-dark: #000000;
JSON
{
  "hex": "#972bad",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 289.846,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51082,
    "c": 0.2066,
    "h": 320.2
  },
  "luminance": 0.11324
}

Semantic roles & 50–950 ramp

primary
#972BAD
secondary
#7EC46F
accent
#E3445F
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #972BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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