#972BC2#972BC2

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

Color values

HEX#972BC2
RGBrgb(151, 43, 194)
HSLhsl(283, 64%, 46%)
HSVhsv(283, 78%, 76%)
CMYKcmyk(22.2%, 77.8%, 0%, 23.9%)
CIE-LABlab(41.54, 65.20, -57.28)
CIE-LCHlch(41.54, 86.79, 318.70°)
OKLaboklab(52.53% 0.1558 -0.1619)
OKLCHoklch(52.53% 0.225 313.9)
XYZxyz(23.3623, 12.2029, 52.1532)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972BC2 #56C22B
analogous
#4C2BC2 #972BC2 #C22BA2
triadic
#972BC2 #C2972B #2BC297
tetradic
#972BC2 #C24C2B #56C22B #2BA2C2
square
#972BC2 #C24C2B #56C22B #2BA2C2
split-complementary
#972BC2 #A2C22B #2BC24C
monochromatic
#49155E #702090 #972BC2 #B252D9 #C884E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##972BC2#FFFFFF#000000##FFFFFF
##972BC21.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)
#005CC6
Deuteranopia (green-blind)
#1C64BF
Tritanopia (blue-blind)
#934F76
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #972bc2;
/* rgb */ color: rgb(151, 43, 194);
/* oklch */ color: oklch(52.5% 0.225 313.9);
Tailwind
colors: {
  custom: {
    50: '#ba71d5',
    500: '#972bc2',
    950: '#000000',
  },
}
SCSS
$custom: #972bc2;
$custom-light: #ba71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#972bc2",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 194
  },
  "hsl": {
    "h": 282.914,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5253,
    "c": 0.22467,
    "h": 313.9
  },
  "luminance": 0.12202
}

Semantic roles & 50–950 ramp

primary
#972BC2
secondary
#93CD7C
accent
#E74170
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #972BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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