#971E8E#971E8E

#971E8E is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.195 H 331.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#971E8E
RGBrgb(151, 30, 142)
HSLhsl(304, 67%, 35%)
HSVhsv(304, 80%, 59%)
CMYKcmyk(0%, 80.1%, 6%, 40.8%)
CIE-LABlab(36.86, 59.87, -33.67)
CIE-LCHlch(36.86, 68.69, 330.65°)
OKLaboklab(48.16% 0.1713 -0.0928)
OKLCHoklch(48.16% 0.195 331.6)
XYZxyz(18.1093, 9.4624, 26.4586)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971E8E #1E9727
analogous
#631E97 #971E8E #971E51
triadic
#971E8E #8E971E #1E8E97
tetradic
#971E8E #97631E #1E9727 #1E5197
square
#971E8E #97631E #1E9727 #1E5197
split-complementary
#971E8E #51971E #1E9763
monochromatic
#310A2E #64145E #971E8E #CA28BE #DD53D2

Accessibility & contrast

On white

7.26
#971E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#971E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971E8E
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971E8E#FFFFFF#000000##FFFFFF
##971E8E1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104C91
Deuteranopia (green-blind)
#475C8B
Tritanopia (blue-blind)
#9D2E56
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #971e8e;
/* rgb */ color: rgb(151, 30, 142);
/* oklch */ color: oklch(48.2% 0.195 331.6);
Tailwind
colors: {
  custom: {
    50: '#b96aaf',
    500: '#971e8e',
    950: '#000000',
  },
}
SCSS
$custom: #971e8e;
$custom-light: #b96aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#971e8e",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 304.463,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48162,
    "c": 0.19485,
    "h": 331.6
  },
  "luminance": 0.09461
}

Semantic roles & 50–950 ramp

primary
#971E8E
secondary
#51C059
accent
#EA4B3E
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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