#8917A1#8917A1

#8917A1 is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 46.8% C 0.209 H 319.4°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#8917A1
RGBrgb(137, 23, 161)
HSLhsl(290, 75%, 36%)
HSVhsv(290, 86%, 63%)
CMYKcmyk(14.9%, 85.7%, 0%, 36.9%)
CIE-LABlab(35.01, 62.13, -48.33)
CIE-LCHlch(35.01, 78.72, 322.12°)
OKLaboklab(46.78% 0.1589 -0.136)
OKLCHoklch(46.78% 0.209 319.4)
XYZxyz(17.0551, 8.5053, 34.4546)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8917A1 #2FA117
analogous
#4417A1 #8917A1 #A11774
triadic
#8917A1 #A18917 #17A189
tetradic
#8917A1 #A14417 #2FA117 #1774A1
square
#8917A1 #A14417 #2FA117 #1774A1
split-complementary
#8917A1 #74A117 #17A144
monochromatic
#2E0836 #5B0F6B #8917A1 #B71FD7 #CB4DE6

Accessibility & contrast

On white

7.78
#8917A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8917A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8917A1
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8917A1#FFFFFF#000000##FFFFFF
##8917A11.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8917a1;
/* rgb */ color: rgb(137, 23, 161);
/* oklch */ color: oklch(46.8% 0.209 319.4);
Tailwind
colors: {
  custom: {
    50: '#b066be',
    500: '#8917a1',
    950: '#000000',
  },
}
SCSS
$custom: #8917a1;
$custom-light: #b066be;
$custom-dark: #000000;
JSON
{
  "hex": "#8917a1",
  "rgb": {
    "r": 137,
    "g": 23,
    "b": 161
  },
  "hsl": {
    "h": 289.565,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46775,
    "c": 0.20916,
    "h": 319.4
  },
  "luminance": 0.08504
}

Semantic roles & 50–950 ramp

primary
#8917A1
secondary
#62C74C
accent
#F23657
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8917A1

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

Preview Lab → · Contrast checker → · Palette generator →

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