#971EBC#971EBC

#971EBC is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 51.2% C 0.231 H 316.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#971EBC
RGBrgb(151, 30, 188)
HSLhsl(286, 72%, 43%)
HSVhsv(286, 84%, 74%)
CMYKcmyk(19.7%, 84%, 0%, 26.3%)
CIE-LABlab(39.81, 67.82, -56.55)
CIE-LCHlch(39.81, 88.30, 320.17°)
OKLaboklab(51.19% 0.1663 -0.1597)
OKLCHoklch(51.19% 0.231 316.2)
XYZxyz(22.3024, 11.1396, 48.5426)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971EBC #43BC1E
analogous
#481EBC #971EBC #BC1E92
triadic
#971EBC #BC971E #1EBC97
tetradic
#971EBC #BC481E #43BC1E #1E92BC
square
#971EBC #BC481E #43BC1E #1E92BC
split-complementary
#971EBC #92BC1E #1EBC48
monochromatic
#420D52 #6D1687 #971EBC #B838DF #CB6DE8

Accessibility & contrast

On white

6.51
#971EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#971EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #971EBC
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971EBC#FFFFFF#000000##FFFFFF
##971EBC1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#1A61B9
Tritanopia (blue-blind)
#944670
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #971ebc;
/* rgb */ color: rgb(151, 30, 188);
/* oklch */ color: oklch(51.2% 0.231 316.2);
Tailwind
colors: {
  custom: {
    50: '#bb6cd1',
    500: '#971ebc',
    950: '#000000',
  },
}
SCSS
$custom: #971ebc;
$custom-light: #bb6cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#971ebc",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 188
  },
  "hsl": {
    "h": 285.949,
    "s": 72.477,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51188,
    "c": 0.23058,
    "h": 316.2
  },
  "luminance": 0.11139
}

Semantic roles & 50–950 ramp

primary
#971EBC
secondary
#80CE68
accent
#EF3963
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #971EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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