#971F9E#971F9E

#971F9E is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.206 H 325.6°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#971F9E
RGBrgb(151, 31, 158)
HSLhsl(297, 67%, 37%)
HSVhsv(297, 80%, 62%)
CMYKcmyk(4.4%, 80.4%, 0%, 38%)
CIE-LABlab(37.89, 62.21, -41.76)
CIE-LCHlch(37.89, 74.92, 326.12°)
OKLaboklab(49.2% 0.17 -0.1164)
OKLCHoklch(49.2% 0.206 325.6)
XYZxyz(19.4236, 10.0292, 33.2539)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F9E #269E1F
analogous
#581F9E #971F9E #9E1F66
triadic
#971F9E #9E971F #1F9E97
tetradic
#971F9E #9E581F #269E1F #1F669E
square
#971F9E #9E581F #269E1F #1F669E
split-complementary
#971F9E #669E1F #1F9E58
monochromatic
#350B38 #66156B #971F9E #C829D1 #D759DE

Accessibility & contrast

On white

6.99
#971F9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#971F9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #971F9E
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F9E#FFFFFF#000000##FFFFFF
##971F9E1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#3E5E9B
Tritanopia (blue-blind)
#9B385F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #971f9e;
/* rgb */ color: rgb(151, 31, 158);
/* oklch */ color: oklch(49.2% 0.206 325.6);
Tailwind
colors: {
  custom: {
    50: '#ba6bbb',
    500: '#971f9e',
    950: '#000000',
  },
}
SCSS
$custom: #971f9e;
$custom-light: #ba6bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#971f9e",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 296.693,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49201,
    "c": 0.20602,
    "h": 325.6
  },
  "luminance": 0.10028
}

Semantic roles & 50–950 ramp

primary
#971F9E
secondary
#5CC256
accent
#EA3E47
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #971F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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