#972EBF#972EBF

#972EBF is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.219 H 314.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#972EBF
RGBrgb(151, 46, 191)
HSLhsl(283, 61%, 46%)
HSVhsv(283, 76%, 75%)
CMYKcmyk(20.9%, 75.9%, 0%, 25.1%)
CIE-LABlab(41.68, 63.59, -55.29)
CIE-LCHlch(41.68, 84.27, 318.99°)
OKLaboklab(52.57% 0.1537 -0.1561)
OKLCHoklch(52.57% 0.219 314.6)
XYZxyz(23.1419, 12.2957, 50.4344)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972EBF #56BF2E
analogous
#4F2EBF #972EBF #BF2E9F
triadic
#972EBF #BF972E #2EBF97
tetradic
#972EBF #BF4F2E #56BF2E #2E9FBF
square
#972EBF #BF4F2E #56BF2E #2E9FBF
split-complementary
#972EBF #9FBF2E #2EBF4F
monochromatic
#49165C #70228E #972EBF #B254D6 #C886E2

Accessibility & contrast

On white

6.07
#972EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#972EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972EBF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972EBF#FFFFFF#000000##FFFFFF
##972EBF1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#2565BC
Tritanopia (blue-blind)
#934F75
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #972ebf;
/* rgb */ color: rgb(151, 46, 191);
/* oklch */ color: oklch(52.6% 0.219 314.6);
Tailwind
colors: {
  custom: {
    50: '#ba72d3',
    500: '#972ebf',
    950: '#000000',
  },
}
SCSS
$custom: #972ebf;
$custom-light: #ba72d3;
$custom-dark: #000000;
JSON
{
  "hex": "#972ebf",
  "rgb": {
    "r": 151,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 283.448,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52567,
    "c": 0.21908,
    "h": 314.6
  },
  "luminance": 0.12295
}

Semantic roles & 50–950 ramp

primary
#972EBF
secondary
#93CB7E
accent
#E44470
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #972EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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