#971F90#971F90

#971F90 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.195 H 330.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#971F90
RGBrgb(151, 31, 144)
HSLhsl(304, 66%, 36%)
HSVhsv(304, 79%, 59%)
CMYKcmyk(0%, 79.5%, 4.6%, 40.8%)
CIE-LABlab(37.07, 59.91, -34.56)
CIE-LCHlch(37.07, 69.16, 330.02°)
OKLaboklab(48.35% 0.1705 -0.0954)
OKLCHoklch(48.35% 0.195 330.8)
XYZxyz(18.2865, 9.5744, 27.2651)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F90 #1F9726
analogous
#621F97 #971F90 #971F54
triadic
#971F90 #90971F #1F9097
tetradic
#971F90 #97621F #1F9726 #1F5497
square
#971F90 #97621F #1F9726 #1F5497
split-complementary
#971F90 #54971F #1F9762
monochromatic
#310A2F #641560 #971F90 #CA29C0 #DC54D4

Accessibility & contrast

On white

7.21
#971F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#971F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F90
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F90#FFFFFF#000000##FFFFFF
##971F901.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4D93
Deuteranopia (green-blind)
#465D8D
Tritanopia (blue-blind)
#9D3057
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #971f90;
/* rgb */ color: rgb(151, 31, 144);
/* oklch */ color: oklch(48.3% 0.195 330.8);
Tailwind
colors: {
  custom: {
    50: '#b96ab1',
    500: '#971f90',
    950: '#000000',
  },
}
SCSS
$custom: #971f90;
$custom-light: #b96ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#971f90",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 303.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48346,
    "c": 0.19542,
    "h": 330.8
  },
  "luminance": 0.09573
}

Semantic roles & 50–950 ramp

primary
#971F90
secondary
#52BF59
accent
#E9493F
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120711
muted
#817A80

Preview Lab

Preview with #971F90

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

Preview Lab → · Contrast checker → · Palette generator →

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