#972BCA#972BCA

#972BCA is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.1% C 0.232 H 311.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#972BCA
RGBrgb(151, 43, 202)
HSLhsl(281, 65%, 48%)
HSVhsv(281, 79%, 79%)
CMYKcmyk(25.2%, 78.7%, 0%, 20.8%)
CIE-LABlab(42.11, 66.80, -61.01)
CIE-LCHlch(42.11, 90.46, 317.59°)
OKLaboklab(53.11% 0.1542 -0.1729)
OKLCHoklch(53.11% 0.232 311.7)
XYZxyz(24.2850, 12.5720, 57.0130)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972BCA #5ECA2B
analogous
#482BCA #972BCA #CA2BAD
triadic
#972BCA #CA972B #2BCA97
tetradic
#972BCA #CA482B #5ECA2B #2BADCA
square
#972BCA #CA482B #5ECA2B #2BADCA
split-complementary
#972BCA #ADCA2B #2BCA48
monochromatic
#4C1665 #712098 #972BCA #B157DB #C889E6

Accessibility & contrast

On white

5.98
#972BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#972BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972BCA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972BCA#FFFFFF#000000##FFFFFF
##972BCA1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#91527B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #972bca;
/* rgb */ color: rgb(151, 43, 202);
/* oklch */ color: oklch(53.1% 0.232 311.7);
Tailwind
colors: {
  custom: {
    50: '#bb71db',
    500: '#972bca',
    950: '#000000',
  },
}
SCSS
$custom: #972bca;
$custom-light: #bb71db;
$custom-dark: #000000;
JSON
{
  "hex": "#972bca",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 202
  },
  "hsl": {
    "h": 280.755,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53114,
    "c": 0.23165,
    "h": 311.7
  },
  "luminance": 0.12571
}

Semantic roles & 50–950 ramp

primary
#972BCA
secondary
#9AD081
accent
#E84076
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #972BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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