#8517B4#8517B4

#8517B4 is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.6% C 0.223 H 312.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#8517B4
RGBrgb(133, 23, 180)
HSLhsl(282, 77%, 40%)
HSVhsv(282, 87%, 71%)
CMYKcmyk(26.1%, 87.2%, 0%, 29.4%)
CIE-LABlab(35.78, 65.08, -58.50)
CIE-LCHlch(35.78, 87.51, 318.04°)
OKLaboklab(47.63% 0.1494 -0.166)
OKLCHoklch(47.63% 0.223 312)
XYZxyz(18.2159, 8.8952, 43.9285)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8517B4 #46B417
analogous
#3617B4 #8517B4 #B41795
triadic
#8517B4 #B48517 #17B485
tetradic
#8517B4 #B43617 #46B417 #1795B4
square
#8517B4 #B43617 #46B417 #1795B4
split-complementary
#8517B4 #95B417 #17B436
monochromatic
#350947 #5D107E #8517B4 #AA25E3 #BF5BEA

Accessibility & contrast

On white

7.56
#8517B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8517B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8517B4
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8517B4#FFFFFF#000000##FFFFFF
##8517B41.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#7F436B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8517b4;
/* rgb */ color: rgb(133, 23, 180);
/* oklch */ color: oklch(47.6% 0.223 312.0);
Tailwind
colors: {
  custom: {
    50: '#ae67cb',
    500: '#8517b4',
    950: '#000000',
  },
}
SCSS
$custom: #8517b4;
$custom-light: #ae67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8517b4",
  "rgb": {
    "r": 133,
    "g": 23,
    "b": 180
  },
  "hsl": {
    "h": 282.038,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47627,
    "c": 0.22334,
    "h": 312
  },
  "luminance": 0.08895
}

Semantic roles & 50–950 ramp

primary
#8517B4
secondary
#7CCE59
accent
#F4346D
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8517B4

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

Preview Lab → · Contrast checker → · Palette generator →

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