#8D17A0#8D17A0

#8D17A0 is a mid, highly saturated purple. Relative luminance 0.088; OKLCH L 47.3% C 0.210 H 321.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#8D17A0
RGBrgb(141, 23, 160)
HSLhsl(292, 75%, 36%)
HSVhsv(292, 86%, 63%)
CMYKcmyk(11.9%, 85.6%, 0%, 37.3%)
CIE-LABlab(35.62, 62.66, -46.71)
CIE-LCHlch(35.62, 78.15, 323.30°)
OKLaboklab(47.31% 0.1639 -0.1311)
OKLCHoklch(47.31% 0.21 321.3)
XYZxyz(17.6353, 8.8146, 34.0234)
Luminance0.0881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D17A0 #2AA017
analogous
#4817A0 #8D17A0 #A0176E
triadic
#8D17A0 #A08D17 #17A08D
tetradic
#8D17A0 #A04817 #2AA017 #176EA0
square
#8D17A0 #A04817 #2AA017 #176EA0
split-complementary
#8D17A0 #6EA017 #17A048
monochromatic
#2F0835 #5E0F6A #8D17A0 #BC1FD6 #D04CE5

Accessibility & contrast

On white

7.60
#8D17A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8D17A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D17A0
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D17A0#FFFFFF#000000##FFFFFF
##8D17A01.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#2C589D
Tritanopia (blue-blind)
#8E385F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d17a0;
/* rgb */ color: rgb(141, 23, 160);
/* oklch */ color: oklch(47.3% 0.210 321.3);
Tailwind
colors: {
  custom: {
    50: '#b367bd',
    500: '#8d17a0',
    950: '#000000',
  },
}
SCSS
$custom: #8d17a0;
$custom-light: #b367bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d17a0",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 291.679,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47313,
    "c": 0.20984,
    "h": 321.3
  },
  "luminance": 0.08814
}

Semantic roles & 50–950 ramp

primary
#8D17A0
secondary
#5DC74C
accent
#F13650
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D17A0

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

Preview Lab → · Contrast checker → · Palette generator →

#8D17A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva