#971F93#971F93

#971F93 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.198 H 329.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#971F93
RGBrgb(151, 31, 147)
HSLhsl(302, 66%, 36%)
HSVhsv(302, 79%, 59%)
CMYKcmyk(0%, 79.5%, 2.6%, 40.8%)
CIE-LABlab(37.24, 60.39, -36.13)
CIE-LCHlch(37.24, 70.37, 329.11°)
OKLaboklab(48.52% 0.1705 -0.1)
OKLCHoklch(48.52% 0.198 329.6)
XYZxyz(18.5188, 9.6673, 28.4887)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F93 #1F9723
analogous
#5F1F97 #971F93 #971F57
triadic
#971F93 #93971F #1F9397
tetradic
#971F93 #975F1F #1F9723 #1F5797
square
#971F93 #975F1F #1F9723 #1F5797
split-complementary
#971F93 #57971F #1F975F
monochromatic
#310A30 #641562 #971F93 #CA29C4 #DC54D7

Accessibility & contrast

On white

7.16
#971F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#971F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F93
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F93#FFFFFF#000000##FFFFFF
##971F931.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064D96
Deuteranopia (green-blind)
#455D90
Tritanopia (blue-blind)
#9D3259
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #971f93;
/* rgb */ color: rgb(151, 31, 147);
/* oklch */ color: oklch(48.5% 0.198 329.6);
Tailwind
colors: {
  custom: {
    50: '#b96ab3',
    500: '#971f93',
    950: '#000000',
  },
}
SCSS
$custom: #971f93;
$custom-light: #b96ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#971f93",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 302,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48524,
    "c": 0.19765,
    "h": 329.6
  },
  "luminance": 0.09666
}

Semantic roles & 50–950 ramp

primary
#971F93
secondary
#52BF56
accent
#E9453F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971F93

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

Preview Lab → · Contrast checker → · Palette generator →

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