#8517A1#8517A1

#8517A1 is a mid, highly saturated purple. Relative luminance 0.082; OKLCH L 46.2% C 0.208 H 317.9°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#8517A1
RGBrgb(133, 23, 161)
HSLhsl(288, 75%, 36%)
HSVhsv(288, 86%, 63%)
CMYKcmyk(17.4%, 85.7%, 0%, 36.9%)
CIE-LABlab(34.34, 61.44, -49.45)
CIE-LCHlch(34.34, 78.87, 321.17°)
OKLaboklab(46.17% 0.1541 -0.1394)
OKLCHoklch(46.17% 0.208 317.9)
XYZxyz(16.4114, 8.1733, 34.4245)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8517A1 #33A117
analogous
#4017A1 #8517A1 #A11778
triadic
#8517A1 #A18517 #17A185
tetradic
#8517A1 #A14017 #33A117 #1778A1
square
#8517A1 #A14017 #33A117 #1778A1
split-complementary
#8517A1 #78A117 #17A140
monochromatic
#2D0836 #590F6B #8517A1 #B11FD7 #C74DE6

Accessibility & contrast

On white

7.97
#8517A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8517A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8517A1
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8517A1#FFFFFF#000000##FFFFFF
##8517A11.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA4
Deuteranopia (green-blind)
#1D549E
Tritanopia (blue-blind)
#843A5F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8517a1;
/* rgb */ color: rgb(133, 23, 161);
/* oklch */ color: oklch(46.2% 0.208 317.9);
Tailwind
colors: {
  custom: {
    50: '#ad66be',
    500: '#8517a1',
    950: '#000000',
  },
}
SCSS
$custom: #8517a1;
$custom-light: #ad66be;
$custom-dark: #000000;
JSON
{
  "hex": "#8517a1",
  "rgb": {
    "r": 133,
    "g": 23,
    "b": 161
  },
  "hsl": {
    "h": 287.826,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46174,
    "c": 0.20776,
    "h": 317.9
  },
  "luminance": 0.08173
}

Semantic roles & 50–950 ramp

primary
#8517A1
secondary
#65C74C
accent
#F2365C
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8517A1

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

Preview Lab → · Contrast checker → · Palette generator →

#8517A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva