#9716B4#9716B4

#9716B4 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 50.2% C 0.230 H 318.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9716B4
RGBrgb(151, 22, 180)
HSLhsl(289, 78%, 40%)
HSVhsv(289, 88%, 71%)
CMYKcmyk(16.1%, 87.8%, 0%, 29.4%)
CIE-LABlab(38.64, 68.13, -53.74)
CIE-LCHlch(38.64, 86.77, 321.74°)
OKLaboklab(50.19% 0.1725 -0.1514)
OKLCHoklch(50.19% 0.23 318.7)
XYZxyz(21.2865, 10.4495, 44.0669)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9716B4 #33B416
analogous
#4816B4 #9716B4 #B41682
triadic
#9716B4 #B49716 #16B497
tetradic
#9716B4 #B44816 #33B416 #1682B4
square
#9716B4 #B44816 #33B416 #1682B4
split-complementary
#9716B4 #82B416 #16B448
monochromatic
#3C0947 #690F7D #9716B4 #C123E4 #D05AEB

Accessibility & contrast

On white

6.80
#9716B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9716B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9716B4
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9716B4#FFFFFF#000000##FFFFFF
##9716B41.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#235FB1
Tritanopia (blue-blind)
#96406B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9716b4;
/* rgb */ color: rgb(151, 22, 180);
/* oklch */ color: oklch(50.2% 0.230 318.7);
Tailwind
colors: {
  custom: {
    50: '#ba69cb',
    500: '#9716b4',
    950: '#000000',
  },
}
SCSS
$custom: #9716b4;
$custom-light: #ba69cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9716b4",
  "rgb": {
    "r": 151,
    "g": 22,
    "b": 180
  },
  "hsl": {
    "h": 288.987,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50187,
    "c": 0.22953,
    "h": 318.7
  },
  "luminance": 0.10448
}

Semantic roles & 50–950 ramp

primary
#9716B4
secondary
#6DCE58
accent
#F53357
background
#FCF6FC
surface
#F8ECF9
border
#D1C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #9716B4

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

Preview Lab → · Contrast checker → · Palette generator →

#9716B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva