#971DC2#971DC2

#971DC2 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.6% C 0.236 H 314.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#971DC2
RGBrgb(151, 29, 194)
HSLhsl(284, 74%, 44%)
HSVhsv(284, 85%, 76%)
CMYKcmyk(22.2%, 85.1%, 0%, 23.9%)
CIE-LABlab(40.17, 69.18, -59.50)
CIE-LCHlch(40.17, 91.25, 319.30°)
OKLaboklab(51.57% 0.1656 -0.1683)
OKLCHoklch(51.57% 0.236 314.5)
XYZxyz(22.9378, 11.3539, 52.0117)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971DC2 #48C21D
analogous
#451DC2 #971DC2 #C21D9A
triadic
#971DC2 #C2971D #1DC297
tetradic
#971DC2 #C2451D #48C21D #1D9AC2
square
#971DC2 #C2451D #48C21D #1D9AC2
split-complementary
#971DC2 #9AC21D #1DC245
monochromatic
#440D58 #6E158D #971DC2 #B63BE2 #CA70EA

Accessibility & contrast

On white

6.42
#971DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#971DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #971DC2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971DC2#FFFFFF#000000##FFFFFF
##971DC21.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#0461BF
Tritanopia (blue-blind)
#934974
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #971dc2;
/* rgb */ color: rgb(151, 29, 194);
/* oklch */ color: oklch(51.6% 0.236 314.5);
Tailwind
colors: {
  custom: {
    50: '#bb6cd5',
    500: '#971dc2',
    950: '#000000',
  },
}
SCSS
$custom: #971dc2;
$custom-light: #bb6cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#971dc2",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 194
  },
  "hsl": {
    "h": 284.364,
    "s": 73.991,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51574,
    "c": 0.23613,
    "h": 314.5
  },
  "luminance": 0.11353
}

Semantic roles & 50–950 ramp

primary
#971DC2
secondary
#85D06B
accent
#F13767
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130814
muted
#827B83

Preview Lab

Preview with #971DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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