#972BC0#972BC0

#972BC0 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.4% C 0.223 H 314.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#972BC0
RGBrgb(151, 43, 192)
HSLhsl(283, 63%, 46%)
HSVhsv(283, 78%, 75%)
CMYKcmyk(21.4%, 77.6%, 0%, 24.7%)
CIE-LABlab(41.40, 64.81, -56.34)
CIE-LCHlch(41.40, 85.87, 319.00°)
OKLaboklab(52.39% 0.1561 -0.1592)
OKLCHoklch(52.39% 0.223 314.4)
XYZxyz(23.1392, 12.1137, 50.9782)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972BC0 #54C02B
analogous
#4C2BC0 #972BC0 #C02B9E
triadic
#972BC0 #C0972B #2BC097
tetradic
#972BC0 #C04C2B #54C02B #2B9EC0
square
#972BC0 #C04C2B #54C02B #2B9EC0
split-complementary
#972BC0 #9EC02B #2BC04C
monochromatic
#48155C #70208E #972BC0 #B350D8 #C882E3

Accessibility & contrast

On white

6.14
#972BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#972BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972BC0
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972BC0#FFFFFF#000000##FFFFFF
##972BC01.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#2064BD
Tritanopia (blue-blind)
#934E75
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #972bc0;
/* rgb */ color: rgb(151, 43, 192);
/* oklch */ color: oklch(52.4% 0.223 314.4);
Tailwind
colors: {
  custom: {
    50: '#ba71d4',
    500: '#972bc0',
    950: '#000000',
  },
}
SCSS
$custom: #972bc0;
$custom-light: #ba71d4;
$custom-dark: #000000;
JSON
{
  "hex": "#972bc0",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 192
  },
  "hsl": {
    "h": 283.49,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52387,
    "c": 0.22293,
    "h": 314.4
  },
  "luminance": 0.12113
}

Semantic roles & 50–950 ramp

primary
#972BC0
secondary
#91CC7B
accent
#E6416F
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #972BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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