#971F94#971F94

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

Color values

HEX#971F94
RGBrgb(151, 31, 148)
HSLhsl(302, 66%, 36%)
HSVhsv(302, 79%, 59%)
CMYKcmyk(0%, 79.5%, 2%, 40.8%)
CIE-LABlab(37.30, 60.55, -36.65)
CIE-LCHlch(37.30, 70.78, 328.82°)
OKLaboklab(48.58% 0.1705 -0.1015)
OKLCHoklch(48.58% 0.198 329.2)
XYZxyz(18.5976, 9.6989, 28.9038)
Luminance0.0970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F94 #1F9722
analogous
#5E1F97 #971F94 #971F58
triadic
#971F94 #94971F #1F9497
tetradic
#971F94 #975E1F #1F9722 #1F5897
square
#971F94 #975E1F #1F9722 #1F5897
split-complementary
#971F94 #58971F #1F975E
monochromatic
#310A30 #641562 #971F94 #CA29C6 #DC54D9

Accessibility & contrast

On white

7.14
#971F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#971F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F94
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F94#FFFFFF#000000##FFFFFF
##971F941.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034E97
Deuteranopia (green-blind)
#445D91
Tritanopia (blue-blind)
#9C3259
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #971f94;
/* rgb */ color: rgb(151, 31, 148);
/* oklch */ color: oklch(48.6% 0.198 329.2);
Tailwind
colors: {
  custom: {
    50: '#b96ab4',
    500: '#971f94',
    950: '#000000',
  },
}
SCSS
$custom: #971f94;
$custom-light: #b96ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#971f94",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 301.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48583,
    "c": 0.1984,
    "h": 329.2
  },
  "luminance": 0.09697
}

Semantic roles & 50–950 ramp

primary
#971F94
secondary
#52BF55
accent
#E9433F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971F94

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

Preview Lab → · Contrast checker → · Palette generator →

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