#8D1986#8D1986

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

Color values

HEX#8D1986
RGBrgb(141, 25, 134)
HSLhsl(304, 70%, 33%)
HSVhsv(304, 82%, 55%)
CMYKcmyk(0%, 82.3%, 5%, 44.7%)
CIE-LABlab(34.15, 57.80, -33.14)
CIE-LCHlch(34.15, 66.62, 330.17°)
OKLaboklab(45.75% 0.1648 -0.0915)
OKLCHoklch(45.75% 0.188 331)
XYZxyz(15.6352, 8.0805, 23.2859)
Luminance0.0808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1986 #198D20
analogous
#5A198D #8D1986 #8D194C
triadic
#8D1986 #868D19 #19868D
tetradic
#8D1986 #8D5A19 #198D20 #194C8D
square
#8D1986 #8D5A19 #198D20 #194C8D
split-complementary
#8D1986 #4C8D19 #198D5A
monochromatic
#250723 #591055 #8D1986 #C122B7 #DE43D4

Accessibility & contrast

On white

8.03
#8D1986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8D1986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1986
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1986#FFFFFF#000000##FFFFFF
##8D19861.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d1986;
/* rgb */ color: rgb(141, 25, 134);
/* oklch */ color: oklch(45.7% 0.188 331.0);
Tailwind
colors: {
  custom: {
    50: '#b266aa',
    500: '#8d1986',
    950: '#000000',
  },
}
SCSS
$custom: #8d1986;
$custom-light: #b266aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1986",
  "rgb": {
    "r": 141,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 303.621,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45746,
    "c": 0.18846,
    "h": 331
  },
  "luminance": 0.08079
}

Semantic roles & 50–950 ramp

primary
#8D1986
secondary
#43BF4B
accent
#ED463B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1986

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

Preview Lab → · Contrast checker → · Palette generator →

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