#8D1886#8D1886

#8D1886 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.7% C 0.189 H 331.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#8D1886
RGBrgb(141, 24, 134)
HSLhsl(304, 71%, 32%)
HSVhsv(304, 83%, 55%)
CMYKcmyk(0%, 83%, 5%, 44.7%)
CIE-LABlab(34.06, 58.05, -33.28)
CIE-LCHlch(34.06, 66.91, 330.18°)
OKLaboklab(45.68% 0.1655 -0.0919)
OKLCHoklch(45.68% 0.189 331)
XYZxyz(15.6142, 8.0385, 23.2789)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1886 #188D1F
analogous
#5A188D #8D1886 #8D184B
triadic
#8D1886 #868D18 #18868D
tetradic
#8D1886 #8D5A18 #188D1F #184B8D
square
#8D1886 #8D5A18 #188D1F #184B8D
split-complementary
#8D1886 #4B8D18 #188D5A
monochromatic
#240623 #590F54 #8D1886 #C121B8 #DF41D5

Accessibility & contrast

On white

8.05
#8D1886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8D1886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1886
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1886#FFFFFF#000000##FFFFFF
##8D18861.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044689
Deuteranopia (green-blind)
#405683
Tritanopia (blue-blind)
#932A50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1886;
/* rgb */ color: rgb(141, 24, 134);
/* oklch */ color: oklch(45.7% 0.189 331.0);
Tailwind
colors: {
  custom: {
    50: '#b266aa',
    500: '#8d1886',
    950: '#000000',
  },
}
SCSS
$custom: #8d1886;
$custom-light: #b266aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1886",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 303.59,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45684,
    "c": 0.18929,
    "h": 331
  },
  "luminance": 0.08037
}

Semantic roles & 50–950 ramp

primary
#8D1886
secondary
#42BF49
accent
#EE453A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1886

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

Preview Lab → · Contrast checker → · Palette generator →

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