#971C9F#971C9F

#971C9F is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.1% C 0.209 H 325.3°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#971C9F
RGBrgb(151, 28, 159)
HSLhsl(296, 70%, 37%)
HSVhsv(296, 82%, 62%)
CMYKcmyk(5%, 82.4%, 0%, 37.6%)
CIE-LABlab(37.69, 63.15, -42.70)
CIE-LCHlch(37.69, 76.23, 325.94°)
OKLaboklab(49.07% 0.1721 -0.1191)
OKLCHoklch(49.07% 0.209 325.3)
XYZxyz(19.4353, 9.9144, 33.6842)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C9F #249F1C
analogous
#561C9F #971C9F #9F1C66
triadic
#971C9F #9F971C #1C9F97
tetradic
#971C9F #9F561C #249F1C #1C669F
square
#971C9F #9F561C #249F1C #1C669F
split-complementary
#971C9F #669F1C #1C9F56
monochromatic
#340A37 #66136B #971C9F #C825D3 #D854E1

Accessibility & contrast

On white

7.04
#971C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#971C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971C9F
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C9F#FFFFFF#000000##FFFFFF
##971C9F1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#3C5E9C
Tritanopia (blue-blind)
#9B375F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #971c9f;
/* rgb */ color: rgb(151, 28, 159);
/* oklch */ color: oklch(49.1% 0.209 325.3);
Tailwind
colors: {
  custom: {
    50: '#ba6abc',
    500: '#971c9f',
    950: '#000000',
  },
}
SCSS
$custom: #971c9f;
$custom-light: #ba6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#971c9f",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 296.336,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49074,
    "c": 0.20927,
    "h": 325.3
  },
  "luminance": 0.09913
}

Semantic roles & 50–950 ramp

primary
#971C9F
secondary
#5AC453
accent
#ED3B46
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #971C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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