#972C8D#972C8D

#972C8D is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.2% C 0.179 H 332.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#972C8D
RGBrgb(151, 44, 141)
HSLhsl(306, 55%, 38%)
HSVhsv(306, 71%, 59%)
CMYKcmyk(0%, 70.9%, 6.6%, 40.8%)
CIE-LABlab(38.38, 55.20, -30.65)
CIE-LCHlch(38.38, 63.13, 330.96°)
OKLaboklab(49.24% 0.1582 -0.0842)
OKLCHoklch(49.24% 0.179 332)
XYZxyz(18.4709, 10.3052, 26.2104)
Luminance0.1030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972C8D #2C9736
analogous
#6B2C97 #972C8D #972C58
triadic
#972C8D #8D972C #2C8D97
tetradic
#972C8D #976B2C #2C9736 #2C5897
square
#972C8D #976B2C #2C9736 #2C5897
split-complementary
#972C8D #58972C #2C976B
monochromatic
#381034 #681E61 #972C8D #C63AB9 #D46ACA

Accessibility & contrast

On white

6.86
#972C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#972C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972C8D
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972C8D#FFFFFF#000000##FFFFFF
##972C8D1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265190
Deuteranopia (green-blind)
#4D608A
Tritanopia (blue-blind)
#9D3759
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #972c8d;
/* rgb */ color: rgb(151, 44, 141);
/* oklch */ color: oklch(49.2% 0.179 332.0);
Tailwind
colors: {
  custom: {
    50: '#b96fae',
    500: '#972c8d',
    950: '#000000',
  },
}
SCSS
$custom: #972c8d;
$custom-light: #b96fae;
$custom-dark: #000000;
JSON
{
  "hex": "#972c8d",
  "rgb": {
    "r": 151,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 305.607,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49239,
    "c": 0.1792,
    "h": 332
  },
  "luminance": 0.10304
}

Semantic roles & 50–950 ramp

primary
#972C8D
secondary
#65BA6D
accent
#DE574A
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #972C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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