#972CC1#972CC1

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

Color values

HEX#972CC1
RGBrgb(151, 44, 193)
HSLhsl(283, 63%, 46%)
HSVhsv(283, 77%, 76%)
CMYKcmyk(21.8%, 77.2%, 0%, 24.3%)
CIE-LABlab(41.58, 64.67, -56.63)
CIE-LCHlch(41.58, 85.96, 318.79°)
OKLaboklab(52.54% 0.1551 -0.16)
OKLCHoklch(52.54% 0.223 314.1)
XYZxyz(23.2872, 12.2317, 51.5760)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972CC1 #56C12C
analogous
#4D2CC1 #972CC1 #C12CA1
triadic
#972CC1 #C1972C #2CC197
tetradic
#972CC1 #C14D2C #56C12C #2CA1C1
square
#972CC1 #C14D2C #56C12C #2CA1C1
split-complementary
#972CC1 #A1C12C #2CC14D
monochromatic
#49155D #70218F #972CC1 #B253D8 #C884E3

Accessibility & contrast

On white

6.09
#972CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#972CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972CC1
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972CC1#FFFFFF#000000##FFFFFF
##972CC11.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC5
Deuteranopia (green-blind)
#1F65BE
Tritanopia (blue-blind)
#934F76
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #972cc1;
/* rgb */ color: rgb(151, 44, 193);
/* oklch */ color: oklch(52.5% 0.223 314.1);
Tailwind
colors: {
  custom: {
    50: '#ba71d5',
    500: '#972cc1',
    950: '#000000',
  },
}
SCSS
$custom: #972cc1;
$custom-light: #ba71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#972cc1",
  "rgb": {
    "r": 151,
    "g": 44,
    "b": 193
  },
  "hsl": {
    "h": 283.087,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5254,
    "c": 0.22283,
    "h": 314.1
  },
  "luminance": 0.12231
}

Semantic roles & 50–950 ramp

primary
#972CC1
secondary
#93CC7D
accent
#E64270
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #972CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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