#972FC6#972FC6

#972FC6 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.224 H 312.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#972FC6
RGBrgb(151, 47, 198)
HSLhsl(281, 62%, 48%)
HSVhsv(281, 76%, 78%)
CMYKcmyk(23.7%, 76.3%, 0%, 22.4%)
CIE-LABlab(42.29, 64.64, -58.39)
CIE-LCHlch(42.29, 87.11, 317.91°)
OKLaboklab(53.15% 0.1517 -0.1652)
OKLCHoklch(53.15% 0.224 312.6)
XYZxyz(23.9702, 12.6903, 54.6019)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972FC6 #5EC62F
analogous
#4C2FC6 #972FC6 #C62FA9
triadic
#972FC6 #C6972F #2FC697
tetradic
#972FC6 #C64C2F #5EC62F #2FA9C6
square
#972FC6 #C64C2F #5EC62F #2FA9C6
split-complementary
#972FC6 #A9C62F #2FC64C
monochromatic
#4C1863 #712395 #972FC6 #B15AD8 #C88CE4

Accessibility & contrast

On white

5.94
#972FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#972FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972FC6
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972FC6#FFFFFF#000000##FFFFFF
##972FC61.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#1866C3
Tritanopia (blue-blind)
#925379
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #972fc6;
/* rgb */ color: rgb(151, 47, 198);
/* oklch */ color: oklch(53.2% 0.224 312.6);
Tailwind
colors: {
  custom: {
    50: '#ba73d8',
    500: '#972fc6',
    950: '#000000',
  },
}
SCSS
$custom: #972fc6;
$custom-light: #ba73d8;
$custom-dark: #000000;
JSON
{
  "hex": "#972fc6",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 198
  },
  "hsl": {
    "h": 281.325,
    "s": 61.633,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53152,
    "c": 0.22428,
    "h": 312.6
  },
  "luminance": 0.1269
}

Semantic roles & 50–950 ramp

primary
#972FC6
secondary
#9ACE83
accent
#E54375
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120915
muted
#817B83

Preview Lab

Preview with #972FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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