#8717B4#8717B4

#8717B4 is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 47.9% C 0.224 H 312.8°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#8717B4
RGBrgb(135, 23, 180)
HSLhsl(283, 77%, 40%)
HSVhsv(283, 87%, 71%)
CMYKcmyk(25%, 87.2%, 0%, 29.4%)
CIE-LABlab(36.10, 65.38, -57.97)
CIE-LCHlch(36.10, 87.38, 318.44°)
OKLaboklab(47.91% 0.1521 -0.1644)
OKLCHoklch(47.91% 0.224 312.8)
XYZxyz(18.5348, 9.0596, 43.9435)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8717B4 #44B417
analogous
#3917B4 #8717B4 #B41792
triadic
#8717B4 #B48717 #17B487
tetradic
#8717B4 #B43917 #44B417 #1792B4
square
#8717B4 #B43917 #44B417 #1792B4
split-complementary
#8717B4 #92B417 #17B439
monochromatic
#360947 #5E107E #8717B4 #AD25E3 #C15BEA

Accessibility & contrast

On white

7.47
#8717B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8717B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8717B4
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8717B4#FFFFFF#000000##FFFFFF
##8717B41.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#0057B1
Tritanopia (blue-blind)
#82436B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8717b4;
/* rgb */ color: rgb(135, 23, 180);
/* oklch */ color: oklch(47.9% 0.224 312.8);
Tailwind
colors: {
  custom: {
    50: '#af67cb',
    500: '#8717b4',
    950: '#000000',
  },
}
SCSS
$custom: #8717b4;
$custom-light: #af67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8717b4",
  "rgb": {
    "r": 135,
    "g": 23,
    "b": 180
  },
  "hsl": {
    "h": 282.803,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4791,
    "c": 0.22392,
    "h": 312.8
  },
  "luminance": 0.09059
}

Semantic roles & 50–950 ramp

primary
#8717B4
secondary
#7BCE59
accent
#F4346B
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8717B4

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

Preview Lab → · Contrast checker → · Palette generator →

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