#971D9C#971D9C

#971D9C is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 48.9% C 0.206 H 326.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#971D9C
RGBrgb(151, 29, 156)
HSLhsl(298, 69%, 36%)
HSVhsv(298, 81%, 61%)
CMYKcmyk(3.2%, 81.4%, 0%, 38.8%)
CIE-LABlab(37.59, 62.40, -41.04)
CIE-LCHlch(37.59, 74.69, 326.67°)
OKLaboklab(48.95% 0.1716 -0.1142)
OKLCHoklch(48.95% 0.206 326.3)
XYZxyz(19.2023, 9.8597, 32.3378)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D9C #229C1D
analogous
#581D9C #971D9C #9C1D62
triadic
#971D9C #9C971D #1D9C97
tetradic
#971D9C #9C581D #229C1D #1D629C
square
#971D9C #9C581D #229C1D #1D629C
split-complementary
#971D9C #629C1D #1D9C58
monochromatic
#330A35 #651368 #971D9C #C927D0 #DA54DF

Accessibility & contrast

On white

7.07
#971D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#971D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971D9C
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971D9C#FFFFFF#000000##FFFFFF
##971D9C1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#3E5E99
Tritanopia (blue-blind)
#9B355E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #971d9c;
/* rgb */ color: rgb(151, 29, 156);
/* oklch */ color: oklch(48.9% 0.206 326.3);
Tailwind
colors: {
  custom: {
    50: '#ba6aba',
    500: '#971d9c',
    950: '#000000',
  },
}
SCSS
$custom: #971d9c;
$custom-light: #ba6aba;
$custom-dark: #000000;
JSON
{
  "hex": "#971d9c",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 156
  },
  "hsl": {
    "h": 297.638,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48945,
    "c": 0.20618,
    "h": 326.3
  },
  "luminance": 0.09858
}

Semantic roles & 50–950 ramp

primary
#971D9C
secondary
#57C252
accent
#EB3C43
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971D9C

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

Preview Lab → · Contrast checker → · Palette generator →

#971D9C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva