#8717A0#8717A0

#8717A0 is a mid, highly saturated purple. Relative luminance 0.083; OKLCH L 46.4% C 0.208 H 319.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#8717A0
RGBrgb(135, 23, 160)
HSLhsl(289, 75%, 36%)
HSVhsv(289, 86%, 63%)
CMYKcmyk(15.6%, 85.6%, 0%, 37.3%)
CIE-LABlab(34.61, 61.60, -48.41)
CIE-LCHlch(34.61, 78.34, 321.84°)
OKLaboklab(46.4% 0.1567 -0.1362)
OKLCHoklch(46.4% 0.208 319)
XYZxyz(16.6424, 8.3026, 33.9768)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8717A0 #30A017
analogous
#4217A0 #8717A0 #A01774
triadic
#8717A0 #A08717 #17A087
tetradic
#8717A0 #A04217 #30A017 #1774A0
square
#8717A0 #A04217 #30A017 #1774A0
split-complementary
#8717A0 #74A017 #17A042
monochromatic
#2D0835 #5A0F6A #8717A0 #B41FD6 #C94CE5

Accessibility & contrast

On white

7.89
#8717A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8717A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8717A0
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8717A0#FFFFFF#000000##FFFFFF
##8717A01.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA3
Deuteranopia (green-blind)
#22559D
Tritanopia (blue-blind)
#87395F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8717a0;
/* rgb */ color: rgb(135, 23, 160);
/* oklch */ color: oklch(46.4% 0.208 319.0);
Tailwind
colors: {
  custom: {
    50: '#ae66bd',
    500: '#8717a0',
    950: '#000000',
  },
}
SCSS
$custom: #8717a0;
$custom-light: #ae66bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8717a0",
  "rgb": {
    "r": 135,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 289.051,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46401,
    "c": 0.20765,
    "h": 319
  },
  "luminance": 0.08302
}

Semantic roles & 50–950 ramp

primary
#8717A0
secondary
#62C74C
accent
#F13658
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8717A0

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

Preview Lab → · Contrast checker → · Palette generator →

#8717A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva