#971FA8#971FA8

#971FA8 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.214 H 322.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#971FA8
RGBrgb(151, 31, 168)
HSLhsl(293, 69%, 39%)
HSVhsv(293, 82%, 66%)
CMYKcmyk(10.1%, 81.5%, 0%, 34.1%)
CIE-LABlab(38.53, 63.93, -46.76)
CIE-LCHlch(38.53, 79.21, 323.82°)
OKLaboklab(49.85% 0.169 -0.131)
OKLCHoklch(49.85% 0.214 322.2)
XYZxyz(20.3196, 10.3876, 37.9729)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971FA8 #30A81F
analogous
#531FA8 #971FA8 #A81F75
triadic
#971FA8 #A8971F #1FA897
tetradic
#971FA8 #A8531F #30A81F #1F75A8
square
#971FA8 #A8531F #30A81F #1F75A8
split-complementary
#971FA8 #75A81F #1FA853
monochromatic
#3A0C41 #691574 #971FA8 #C32CD8 #D260E2

Accessibility & contrast

On white

6.82
#971FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#971FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #971FA8
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971FA8#FFFFFF#000000##FFFFFF
##971FA81.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AC
Deuteranopia (green-blind)
#355FA5
Tritanopia (blue-blind)
#993D65
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #971fa8;
/* rgb */ color: rgb(151, 31, 168);
/* oklch */ color: oklch(49.9% 0.214 322.2);
Tailwind
colors: {
  custom: {
    50: '#ba6bc2',
    500: '#971fa8',
    950: '#000000',
  },
}
SCSS
$custom: #971fa8;
$custom-light: #ba6bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#971fa8",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 292.555,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49852,
    "c": 0.21383,
    "h": 322.2
  },
  "luminance": 0.10386
}

Semantic roles & 50–950 ramp

primary
#971FA8
secondary
#6AC65D
accent
#EC3C52
background
#FBF6FC
surface
#F7ECF8
border
#D0C7D1
text
#120812
muted
#817A81

Preview Lab

Preview with #971FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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