#971CA1#971CA1

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

Color values

HEX#971CA1
RGBrgb(151, 28, 161)
HSLhsl(295, 70%, 37%)
HSVhsv(295, 83%, 63%)
CMYKcmyk(6.2%, 82.6%, 0%, 36.9%)
CIE-LABlab(37.81, 63.49, -43.70)
CIE-LCHlch(37.81, 77.08, 325.46°)
OKLaboklab(49.2% 0.1719 -0.122)
OKLCHoklch(49.2% 0.211 324.6)
XYZxyz(19.6103, 9.9843, 34.6056)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971CA1 #26A11C
analogous
#551CA1 #971CA1 #A11C68
triadic
#971CA1 #A1971C #1CA197
tetradic
#971CA1 #A1551C #26A11C #1C68A1
square
#971CA1 #A1551C #26A11C #1C68A1
split-complementary
#971CA1 #68A11C #1CA155
monochromatic
#350A39 #66136D #971CA1 #C825D5 #D756E2

Accessibility & contrast

On white

7.01
#971CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#971CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #971CA1
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971CA1#FFFFFF#000000##FFFFFF
##971CA11.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#3A5E9E
Tritanopia (blue-blind)
#9A3860
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #971ca1;
/* rgb */ color: rgb(151, 28, 161);
/* oklch */ color: oklch(49.2% 0.211 324.6);
Tailwind
colors: {
  custom: {
    50: '#ba6abd',
    500: '#971ca1',
    950: '#000000',
  },
}
SCSS
$custom: #971ca1;
$custom-light: #ba6abd;
$custom-dark: #000000;
JSON
{
  "hex": "#971ca1",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 295.489,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49204,
    "c": 0.2108,
    "h": 324.6
  },
  "luminance": 0.09983
}

Semantic roles & 50–950 ramp

primary
#971CA1
secondary
#5CC554
accent
#ED3B48
background
#FBF6FB
surface
#F7ECF7
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #971CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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