#972DBF#972DBF

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

Color values

HEX#972DBF
RGBrgb(151, 45, 191)
HSLhsl(284, 62%, 46%)
HSVhsv(284, 76%, 75%)
CMYKcmyk(20.9%, 76.4%, 0%, 25.1%)
CIE-LABlab(41.56, 63.93, -55.49)
CIE-LCHlch(41.56, 84.66, 319.05°)
OKLaboklab(52.48% 0.1546 -0.1567)
OKLCHoklch(52.48% 0.22 314.6)
XYZxyz(23.1033, 12.2185, 50.4215)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972DBF #55BF2D
analogous
#4E2DBF #972DBF #BF2D9E
triadic
#972DBF #BF972D #2DBF97
tetradic
#972DBF #BF4E2D #55BF2D #2D9EBF
square
#972DBF #BF4E2D #55BF2D #2D9EBF
split-complementary
#972DBF #9EBF2D #2DBF4E
monochromatic
#49165C #70218D #972DBF #B253D6 #C884E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##972DBF#FFFFFF#000000##FFFFFF
##972DBF1.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)
#005CC3
Deuteranopia (green-blind)
#2465BC
Tritanopia (blue-blind)
#934E75
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #972dbf;
/* rgb */ color: rgb(151, 45, 191);
/* oklch */ color: oklch(52.5% 0.220 314.6);
Tailwind
colors: {
  custom: {
    50: '#ba72d3',
    500: '#972dbf',
    950: '#000000',
  },
}
SCSS
$custom: #972dbf;
$custom-light: #ba72d3;
$custom-dark: #000000;
JSON
{
  "hex": "#972dbf",
  "rgb": {
    "r": 151,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 283.562,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52481,
    "c": 0.22009,
    "h": 314.6
  },
  "luminance": 0.12218
}

Semantic roles & 50–950 ramp

primary
#972DBF
secondary
#92CB7C
accent
#E5436F
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #972DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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