#972B95#972B95

#972B95 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.6% C 0.187 H 328.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#972B95
RGBrgb(151, 43, 149)
HSLhsl(301, 56%, 38%)
HSVhsv(301, 72%, 59%)
CMYKcmyk(0%, 71.5%, 1.3%, 40.8%)
CIE-LABlab(38.69, 56.89, -35.05)
CIE-LCHlch(38.69, 66.82, 328.36°)
OKLaboklab(49.6% 0.1596 -0.0969)
OKLCHoklch(49.6% 0.187 328.7)
XYZxyz(19.0510, 10.4784, 29.4471)
Luminance0.1048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972B95 #2B972D
analogous
#632B97 #972B95 #972B5F
triadic
#972B95 #95972B #2B9597
tetradic
#972B95 #97632B #2B972D #2B5F97
square
#972B95 #97632B #2B972D #2B5F97
split-complementary
#972B95 #5F972B #2B9763
monochromatic
#381037 #671D66 #972B95 #C739C4 #D468D2

Accessibility & contrast

On white

6.78
#972B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#972B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972B95
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972B95#FFFFFF#000000##FFFFFF
##972B951.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5298
Deuteranopia (green-blind)
#496092
Tritanopia (blue-blind)
#9C3A5D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #972b95;
/* rgb */ color: rgb(151, 43, 149);
/* oklch */ color: oklch(49.6% 0.187 328.7);
Tailwind
colors: {
  custom: {
    50: '#b96fb4',
    500: '#972b95',
    950: '#000000',
  },
}
SCSS
$custom: #972b95;
$custom-light: #b96fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#972b95",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 301.111,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49596,
    "c": 0.18672,
    "h": 328.7
  },
  "luminance": 0.10477
}

Semantic roles & 50–950 ramp

primary
#972B95
secondary
#63BB65
accent
#DF4C49
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #972B95

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

Preview Lab → · Contrast checker → · Palette generator →

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