#971F85#971F85

#971F85 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.7% C 0.187 H 335.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#971F85
RGBrgb(151, 31, 133)
HSLhsl(309, 66%, 36%)
HSVhsv(309, 79%, 59%)
CMYKcmyk(0%, 79.5%, 11.9%, 40.8%)
CIE-LABlab(36.47, 58.21, -28.73)
CIE-LCHlch(36.47, 64.92, 333.73°)
OKLaboklab(47.73% 0.1702 -0.0786)
OKLCHoklch(47.73% 0.187 335.2)
XYZxyz(17.4864, 9.2543, 23.0511)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F85 #1F9731
analogous
#6D1F97 #971F85 #971F49
triadic
#971F85 #85971F #1F8597
tetradic
#971F85 #976D1F #1F9731 #1F4997
square
#971F85 #976D1F #1F9731 #1F4997
split-complementary
#971F85 #49971F #1F976D
monochromatic
#310A2C #641558 #971F85 #CA29B2 #DC54C8

Accessibility & contrast

On white

7.37
#971F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#971F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F85
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F85#FFFFFF#000000##FFFFFF
##971F851.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4B88
Deuteranopia (green-blind)
#4C5C82
Tritanopia (blue-blind)
#9F2A51
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #971f85;
/* rgb */ color: rgb(151, 31, 133);
/* oklch */ color: oklch(47.7% 0.187 335.2);
Tailwind
colors: {
  custom: {
    50: '#b96aa9',
    500: '#971f85',
    950: '#000000',
  },
}
SCSS
$custom: #971f85;
$custom-light: #b96aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#971f85",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 309,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47725,
    "c": 0.18746,
    "h": 335.2
  },
  "luminance": 0.09253
}

Semantic roles & 50–950 ramp

primary
#971F85
secondary
#52BF63
accent
#E9583F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971F85

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

Preview Lab → · Contrast checker → · Palette generator →

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