#971CA9#971CA9

#971CA9 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.7% C 0.217 H 322.0°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#971CA9
RGBrgb(151, 28, 169)
HSLhsl(292, 72%, 39%)
HSVhsv(292, 83%, 66%)
CMYKcmyk(10.7%, 83.4%, 0%, 33.7%)
CIE-LABlab(38.33, 64.87, -47.68)
CIE-LCHlch(38.33, 80.51, 323.69°)
OKLaboklab(49.73% 0.171 -0.1336)
OKLCHoklch(49.73% 0.217 322)
XYZxyz(20.3384, 10.2756, 38.4405)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971CA9 #2EA91C
analogous
#501CA9 #971CA9 #A91C74
triadic
#971CA9 #A9971C #1CA997
tetradic
#971CA9 #A9501C #2EA91C #1C74A9
square
#971CA9 #A9501C #2EA91C #1C74A9
split-complementary
#971CA9 #74A91C #1CA950
monochromatic
#390B40 #681374 #971CA9 #C427DB #D25BE4

Accessibility & contrast

On white

6.87
#971CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#971CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #971CA9
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971CA9#FFFFFF#000000##FFFFFF
##971CA91.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#335FA6
Tritanopia (blue-blind)
#993C65
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #971ca9;
/* rgb */ color: rgb(151, 28, 169);
/* oklch */ color: oklch(49.7% 0.217 322.0);
Tailwind
colors: {
  custom: {
    50: '#ba6ac3',
    500: '#971ca9',
    950: '#000000',
  },
}
SCSS
$custom: #971ca9;
$custom-light: #ba6ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#971ca9",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 292.34,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49734,
    "c": 0.21699,
    "h": 322
  },
  "luminance": 0.10274
}

Semantic roles & 50–950 ramp

primary
#971CA9
secondary
#67C859
accent
#EE3951
background
#FBF6FC
surface
#F7ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #971CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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