#971FBC#971FBC

#971FBC is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.2% C 0.230 H 316.1°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#971FBC
RGBrgb(151, 31, 188)
HSLhsl(286, 72%, 43%)
HSVhsv(286, 84%, 74%)
CMYKcmyk(19.7%, 83.5%, 0%, 26.3%)
CIE-LABlab(39.90, 67.56, -56.41)
CIE-LCHlch(39.90, 88.02, 320.14°)
OKLaboklab(51.25% 0.1657 -0.1593)
OKLCHoklch(51.25% 0.23 316.1)
XYZxyz(22.3282, 11.1911, 48.5511)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971FBC #44BC1F
analogous
#491FBC #971FBC #BC1F92
triadic
#971FBC #BC971F #1FBC97
tetradic
#971FBC #BC491F #44BC1F #1F92BC
square
#971FBC #BC491F #44BC1F #1F92BC
split-complementary
#971FBC #92BC1F #1FBC49
monochromatic
#430E53 #6D1687 #971FBC #B83ADE #CB6EE7

Accessibility & contrast

On white

6.49
#971FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#971FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #971FBC
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971FBC#FFFFFF#000000##FFFFFF
##971FBC1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971fbc;
/* rgb */ color: rgb(151, 31, 188);
/* oklch */ color: oklch(51.2% 0.230 316.1);
Tailwind
colors: {
  custom: {
    50: '#ba6cd1',
    500: '#971fbc',
    950: '#000000',
  },
}
SCSS
$custom: #971fbc;
$custom-light: #ba6cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#971fbc",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 188
  },
  "hsl": {
    "h": 285.86,
    "s": 71.689,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51248,
    "c": 0.22984,
    "h": 316.1
  },
  "luminance": 0.1119
}

Semantic roles & 50–950 ramp

primary
#971FBC
secondary
#81CD69
accent
#EE3964
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #971FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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