#972FC2#972FC2

#972FC2 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.221 H 313.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#972FC2
RGBrgb(151, 47, 194)
HSLhsl(282, 61%, 47%)
HSVhsv(282, 76%, 76%)
CMYKcmyk(22.2%, 75.8%, 0%, 23.9%)
CIE-LABlab(42.01, 63.83, -56.51)
CIE-LCHlch(42.01, 85.25, 318.48°)
OKLaboklab(52.87% 0.1524 -0.1597)
OKLCHoklch(52.87% 0.221 313.7)
XYZxyz(23.5149, 12.5082, 52.2041)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972FC2 #5AC22F
analogous
#4E2FC2 #972FC2 #C22FA4
triadic
#972FC2 #C2972F #2FC297
tetradic
#972FC2 #C24E2F #5AC22F #2FA4C2
square
#972FC2 #C24E2F #5AC22F #2FA4C2
split-complementary
#972FC2 #A4C22F #2FC24E
monochromatic
#4A175F #712391 #972FC2 #B158D6 #C889E2

Accessibility & contrast

On white

6.00
#972FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#972FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972FC2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972FC2#FFFFFF#000000##FFFFFF
##972FC21.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#2165BF
Tritanopia (blue-blind)
#935177
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #972fc2;
/* rgb */ color: rgb(151, 47, 194);
/* oklch */ color: oklch(52.9% 0.221 313.7);
Tailwind
colors: {
  custom: {
    50: '#ba73d5',
    500: '#972fc2',
    950: '#000000',
  },
}
SCSS
$custom: #972fc2;
$custom-light: #ba73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#972fc2",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 194
  },
  "hsl": {
    "h": 282.449,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.52866,
    "c": 0.22071,
    "h": 313.7
  },
  "luminance": 0.12507
}

Semantic roles & 50–950 ramp

primary
#972FC2
secondary
#97CC81
accent
#E44473
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #972FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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