#8817A1#8817A1

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

Color values

HEX#8817A1
RGBrgb(136, 23, 161)
HSLhsl(289, 75%, 36%)
HSVhsv(289, 86%, 63%)
CMYKcmyk(15.5%, 85.7%, 0%, 36.9%)
CIE-LABlab(34.84, 61.96, -48.61)
CIE-LCHlch(34.84, 78.75, 321.88°)
OKLaboklab(46.62% 0.1577 -0.1368)
OKLCHoklch(46.62% 0.209 319.1)
XYZxyz(16.8919, 8.4211, 34.4470)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8817A1 #30A117
analogous
#4317A1 #8817A1 #A11775
triadic
#8817A1 #A18817 #17A188
tetradic
#8817A1 #A14317 #30A117 #1775A1
square
#8817A1 #A14317 #30A117 #1775A1
split-complementary
#8817A1 #75A117 #17A143
monochromatic
#2E0836 #5B0F6B #8817A1 #B51FD7 #CA4DE6

Accessibility & contrast

On white

7.82
#8817A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8817A1
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8817A1#FFFFFF#000000##FFFFFF
##8817A11.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#23559E
Tritanopia (blue-blind)
#88395F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8817a1;
/* rgb */ color: rgb(136, 23, 161);
/* oklch */ color: oklch(46.6% 0.209 319.1);
Tailwind
colors: {
  custom: {
    50: '#af66be',
    500: '#8817a1',
    950: '#000000',
  },
}
SCSS
$custom: #8817a1;
$custom-light: #af66be;
$custom-dark: #000000;
JSON
{
  "hex": "#8817a1",
  "rgb": {
    "r": 136,
    "g": 23,
    "b": 161
  },
  "hsl": {
    "h": 289.13,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46624,
    "c": 0.20882,
    "h": 319.1
  },
  "luminance": 0.0842
}

Semantic roles & 50–950 ramp

primary
#8817A1
secondary
#63C74C
accent
#F23658
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8817A1

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

Preview Lab → · Contrast checker → · Palette generator →

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