#8817A0#8817A0

#8817A0 is a mid, highly saturated purple. Relative luminance 0.084; OKLCH L 46.6% C 0.208 H 319.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8817A0
RGBrgb(136, 23, 160)
HSLhsl(289, 75%, 36%)
HSVhsv(289, 86%, 63%)
CMYKcmyk(15%, 85.6%, 0%, 37.3%)
CIE-LABlab(34.77, 61.77, -48.12)
CIE-LCHlch(34.77, 78.31, 322.08°)
OKLaboklab(46.55% 0.1579 -0.1354)
OKLCHoklch(46.55% 0.208 319.4)
XYZxyz(16.8041, 8.3860, 33.9844)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8817A0 #2FA017
analogous
#4317A0 #8817A0 #A01773
triadic
#8817A0 #A08817 #17A088
tetradic
#8817A0 #A04317 #2FA017 #1773A0
square
#8817A0 #A04317 #2FA017 #1773A0
split-complementary
#8817A0 #73A017 #17A043
monochromatic
#2D0835 #5B0F6A #8817A0 #B51FD6 #CA4CE5

Accessibility & contrast

On white

7.84
#8817A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8817A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8817A0
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8817A0#FFFFFF#000000##FFFFFF
##8817A01.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#24559D
Tritanopia (blue-blind)
#88395F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8817a0;
/* rgb */ color: rgb(136, 23, 160);
/* oklch */ color: oklch(46.6% 0.208 319.4);
Tailwind
colors: {
  custom: {
    50: '#af66bd',
    500: '#8817a0',
    950: '#000000',
  },
}
SCSS
$custom: #8817a0;
$custom-light: #af66bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8817a0",
  "rgb": {
    "r": 136,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 289.489,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46552,
    "c": 0.20801,
    "h": 319.4
  },
  "luminance": 0.08385
}

Semantic roles & 50–950 ramp

primary
#8817A0
secondary
#61C74C
accent
#F13657
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8817A0

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

Preview Lab → · Contrast checker → · Palette generator →

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