#971D8D#971D8D

#971D8D is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.195 H 331.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#971D8D
RGBrgb(151, 29, 141)
HSLhsl(305, 68%, 35%)
HSVhsv(305, 81%, 59%)
CMYKcmyk(0%, 80.8%, 6.6%, 40.8%)
CIE-LABlab(36.71, 59.98, -33.29)
CIE-LCHlch(36.71, 68.60, 330.97°)
OKLaboklab(48.04% 0.1721 -0.0917)
OKLCHoklch(48.04% 0.195 331.9)
XYZxyz(18.0096, 9.3827, 26.0567)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D8D #1D9727
analogous
#641D97 #971D8D #971D50
triadic
#971D8D #8D971D #1D8D97
tetradic
#971D8D #97641D #1D9727 #1D5097
square
#971D8D #97641D #1D9727 #1D5097
split-complementary
#971D8D #50971D #1D9764
monochromatic
#30092D #64135D #971D8D #CA27BD #DE51D2

Accessibility & contrast

On white

7.30
#971D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#971D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971D8D
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971D8D#FFFFFF#000000##FFFFFF
##971D8D1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114C90
Deuteranopia (green-blind)
#475C8A
Tritanopia (blue-blind)
#9E2D55
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #971d8d;
/* rgb */ color: rgb(151, 29, 141);
/* oklch */ color: oklch(48.0% 0.195 331.9);
Tailwind
colors: {
  custom: {
    50: '#b969af',
    500: '#971d8d',
    950: '#000000',
  },
}
SCSS
$custom: #971d8d;
$custom-light: #b969af;
$custom-dark: #000000;
JSON
{
  "hex": "#971d8d",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 304.918,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.48038,
    "c": 0.19501,
    "h": 331.9
  },
  "luminance": 0.09381
}

Semantic roles & 50–950 ramp

primary
#971D8D
secondary
#4FC059
accent
#EB4B3D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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