#972FC3#972FC3

#972FC3 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.222 H 313.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#972FC3
RGBrgb(151, 47, 195)
HSLhsl(282, 61%, 47%)
HSVhsv(282, 76%, 76%)
CMYKcmyk(22.6%, 75.9%, 0%, 23.5%)
CIE-LABlab(42.08, 64.03, -56.98)
CIE-LCHlch(42.08, 85.72, 318.33°)
OKLaboklab(52.94% 0.1522 -0.1611)
OKLCHoklch(52.94% 0.222 313.4)
XYZxyz(23.6276, 12.5532, 52.7976)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972FC3 #5BC32F
analogous
#4D2FC3 #972FC3 #C32FA5
triadic
#972FC3 #C3972F #2FC397
tetradic
#972FC3 #C34D2F #5BC32F #2FA5C3
square
#972FC3 #C34D2F #5BC32F #2FA5C3
split-complementary
#972FC3 #A5C32F #2FC34D
monochromatic
#4B1760 #712392 #972FC3 #B158D7 #C88AE3

Accessibility & contrast

On white

5.98
#972FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#972FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972FC3
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972FC3#FFFFFF#000000##FFFFFF
##972FC31.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#1F66C0
Tritanopia (blue-blind)
#925178
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #972fc3;
/* rgb */ color: rgb(151, 47, 195);
/* oklch */ color: oklch(52.9% 0.222 313.4);
Tailwind
colors: {
  custom: {
    50: '#ba73d6',
    500: '#972fc3',
    950: '#000000',
  },
}
SCSS
$custom: #972fc3;
$custom-light: #ba73d6;
$custom-dark: #000000;
JSON
{
  "hex": "#972fc3",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 195
  },
  "hsl": {
    "h": 282.162,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.52937,
    "c": 0.2216,
    "h": 313.4
  },
  "luminance": 0.12552
}

Semantic roles & 50–950 ramp

primary
#972FC3
secondary
#98CD81
accent
#E44473
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #972FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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