#971CB4#971CB4

#971CB4 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.5% C 0.226 H 318.6°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#971CB4
RGBrgb(151, 28, 180)
HSLhsl(289, 73%, 41%)
HSVhsv(289, 84%, 71%)
CMYKcmyk(16.1%, 84.4%, 0%, 29.4%)
CIE-LABlab(39.08, 66.83, -53.02)
CIE-LCHlch(39.08, 85.31, 321.57°)
OKLaboklab(50.5% 0.1692 -0.1493)
OKLCHoklch(50.5% 0.226 318.6)
XYZxyz(21.4148, 10.7062, 44.1097)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971CB4 #39B41C
analogous
#4B1CB4 #971CB4 #B41C85
triadic
#971CB4 #B4971C #1CB497
tetradic
#971CB4 #B44B1C #39B41C #1C85B4
square
#971CB4 #B44B1C #39B41C #1C85B4
split-complementary
#971CB4 #85B41C #1CB44B
monochromatic
#3E0C4A #6B147F #971CB4 #BD2FDF #CE64E7

Accessibility & contrast

On white

6.69
#971CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#971CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #971CB4
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971CB4#FFFFFF#000000##FFFFFF
##971CB41.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#2660B1
Tritanopia (blue-blind)
#96426B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #971cb4;
/* rgb */ color: rgb(151, 28, 180);
/* oklch */ color: oklch(50.5% 0.226 318.6);
Tailwind
colors: {
  custom: {
    50: '#ba6bcb',
    500: '#971cb4',
    950: '#000000',
  },
}
SCSS
$custom: #971cb4;
$custom-light: #ba6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#971cb4",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 288.553,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50497,
    "c": 0.22562,
    "h": 318.6
  },
  "luminance": 0.10705
}

Semantic roles & 50–950 ramp

primary
#971CB4
secondary
#75CC60
accent
#F0385B
background
#FCF6FC
surface
#F8ECF9
border
#D1C7D2
text
#120813
muted
#817A82

Preview Lab

Preview with #971CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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