#971E98#971E98

#971E98 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.8% C 0.202 H 327.8°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#971E98
RGBrgb(151, 30, 152)
HSLhsl(300, 67%, 36%)
HSVhsv(300, 80%, 60%)
CMYKcmyk(0.7%, 80.3%, 0%, 40.4%)
CIE-LABlab(37.44, 61.47, -38.86)
CIE-LCHlch(37.44, 72.72, 327.70°)
OKLaboklab(48.76% 0.1711 -0.1079)
OKLCHoklch(48.76% 0.202 327.8)
XYZxyz(18.8940, 9.7763, 30.5915)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971E98 #1F981E
analogous
#5A1E98 #971E98 #981E5C
triadic
#971E98 #98971E #1E9897
tetradic
#971E98 #985A1E #1F981E #1E5C98
square
#971E98 #985A1E #1F981E #1E5C98
split-complementary
#971E98 #5C981E #1E985A
monochromatic
#310A32 #641465 #971E98 #CA28CB #DC53DD

Accessibility & contrast

On white

7.11
#971E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#971E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971E98
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971E98#FFFFFF#000000##FFFFFF
##971E981.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#415D95
Tritanopia (blue-blind)
#9C345C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #971e98;
/* rgb */ color: rgb(151, 30, 152);
/* oklch */ color: oklch(48.8% 0.202 327.8);
Tailwind
colors: {
  custom: {
    50: '#b96ab7',
    500: '#971e98',
    950: '#000000',
  },
}
SCSS
$custom: #971e98;
$custom-light: #b96ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#971e98",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 152
  },
  "hsl": {
    "h": 299.508,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4876,
    "c": 0.2023,
    "h": 327.8
  },
  "luminance": 0.09775
}

Semantic roles & 50–950 ramp

primary
#971E98
secondary
#52C051
accent
#EA3E3F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971E98

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

Preview Lab → · Contrast checker → · Palette generator →

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