#972EBD#972EBD

#972EBD is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.217 H 315.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#972EBD
RGBrgb(151, 46, 189)
HSLhsl(284, 61%, 46%)
HSVhsv(284, 76%, 74%)
CMYKcmyk(20.1%, 75.7%, 0%, 25.9%)
CIE-LABlab(41.55, 63.19, -54.34)
CIE-LCHlch(41.55, 83.34, 319.31°)
OKLaboklab(52.43% 0.154 -0.1533)
OKLCHoklch(52.43% 0.217 315.1)
XYZxyz(22.9233, 12.2083, 49.2832)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972EBD #54BD2E
analogous
#4F2EBD #972EBD #BD2E9B
triadic
#972EBD #BD972E #2EBD97
tetradic
#972EBD #BD4F2E #54BD2E #2E9BBD
square
#972EBD #BD4F2E #54BD2E #2E9BBD
split-complementary
#972EBD #9BBD2E #2EBD4F
monochromatic
#48165B #70228C #972EBD #B353D5 #C884E1

Accessibility & contrast

On white

6.10
#972EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#972EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972EBD
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972EBD#FFFFFF#000000##FFFFFF
##972EBD1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#2865BA
Tritanopia (blue-blind)
#944E74
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #972ebd;
/* rgb */ color: rgb(151, 46, 189);
/* oklch */ color: oklch(52.4% 0.217 315.1);
Tailwind
colors: {
  custom: {
    50: '#ba72d2',
    500: '#972ebd',
    950: '#000000',
  },
}
SCSS
$custom: #972ebd;
$custom-light: #ba72d2;
$custom-dark: #000000;
JSON
{
  "hex": "#972ebd",
  "rgb": {
    "r": 151,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 284.056,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52426,
    "c": 0.21732,
    "h": 315.1
  },
  "luminance": 0.12207
}

Semantic roles & 50–950 ramp

primary
#972EBD
secondary
#91CA7C
accent
#E4446E
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #972EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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