#972FAC#972FAC

#972FAC is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.4% C 0.201 H 320.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#972FAC
RGBrgb(151, 47, 172)
HSLhsl(290, 57%, 43%)
HSVhsv(290, 73%, 67%)
CMYKcmyk(12.2%, 72.7%, 0%, 32.5%)
CIE-LABlab(40.56, 59.55, -45.89)
CIE-LCHlch(40.56, 75.18, 322.38°)
OKLaboklab(51.37% 0.155 -0.1285)
OKLCHoklch(51.37% 0.201 320.3)
XYZxyz(21.2245, 11.5920, 40.1412)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972FAC #44AC2F
analogous
#582FAC #972FAC #AC2F82
triadic
#972FAC #AC972F #2FAC97
tetradic
#972FAC #AC582F #44AC2F #2F82AC
square
#972FAC #AC582F #44AC2F #2F82AC
split-complementary
#972FAC #82AC2F #2FAC58
monochromatic
#43154C #6D227C #972FAC #B84BCE #CB7BDB

Accessibility & contrast

On white

6.33
#972FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#972FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972FAC
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972FAC#FFFFFF#000000##FFFFFF
##972FAC1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#3B63A9
Tritanopia (blue-blind)
#98476B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #972fac;
/* rgb */ color: rgb(151, 47, 172);
/* oklch */ color: oklch(51.4% 0.201 320.3);
Tailwind
colors: {
  custom: {
    50: '#b972c5',
    500: '#972fac',
    950: '#000000',
  },
}
SCSS
$custom: #972fac;
$custom-light: #b972c5;
$custom-dark: #000000;
JSON
{
  "hex": "#972fac",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 289.92,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51373,
    "c": 0.20133,
    "h": 320.3
  },
  "luminance": 0.11591
}

Semantic roles & 50–950 ramp

primary
#972FAC
secondary
#81C374
accent
#E04761
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #972FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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