#972EAC#972EAC

#972EAC is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.202 H 320.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#972EAC
RGBrgb(151, 46, 172)
HSLhsl(290, 58%, 43%)
HSVhsv(290, 73%, 67%)
CMYKcmyk(12.2%, 73.3%, 0%, 32.5%)
CIE-LABlab(40.43, 59.92, -46.10)
CIE-LCHlch(40.43, 75.60, 322.43°)
OKLaboklab(51.28% 0.1559 -0.1291)
OKLCHoklch(51.28% 0.202 320.4)
XYZxyz(21.1850, 11.5130, 40.1281)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972EAC #43AC2E
analogous
#582EAC #972EAC #AC2E82
triadic
#972EAC #AC972E #2EAC97
tetradic
#972EAC #AC582E #43AC2E #2E82AC
square
#972EAC #AC582E #43AC2E #2E82AC
split-complementary
#972EAC #82AC2E #2EAC58
monochromatic
#42144B #6D217C #972EAC #B849CE #CB79DB

Accessibility & contrast

On white

6.36
#972EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#972EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972EAC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972EAC#FFFFFF#000000##FFFFFF
##972EAC1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#3B63A9
Tritanopia (blue-blind)
#98466B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #972eac;
/* rgb */ color: rgb(151, 46, 172);
/* oklch */ color: oklch(51.3% 0.202 320.4);
Tailwind
colors: {
  custom: {
    50: '#b971c5',
    500: '#972eac',
    950: '#000000',
  },
}
SCSS
$custom: #972eac;
$custom-light: #b971c5;
$custom-dark: #000000;
JSON
{
  "hex": "#972eac",
  "rgb": {
    "r": 151,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 290,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51281,
    "c": 0.20246,
    "h": 320.4
  },
  "luminance": 0.11512
}

Semantic roles & 50–950 ramp

primary
#972EAC
secondary
#80C372
accent
#E14760
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #972EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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