#8C1986#8C1986

#8C1986 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.188 H 330.6°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#8C1986
RGBrgb(140, 25, 134)
HSLhsl(303, 70%, 32%)
HSVhsv(303, 82%, 55%)
CMYKcmyk(0%, 82.1%, 4.3%, 45.1%)
CIE-LABlab(33.97, 57.59, -33.44)
CIE-LCHlch(33.97, 66.59, 329.86°)
OKLaboklab(45.58% 0.1637 -0.0924)
OKLCHoklch(45.58% 0.188 330.6)
XYZxyz(15.4659, 7.9932, 23.2779)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1986 #198C1F
analogous
#58198C #8C1986 #8C194D
triadic
#8C1986 #868C19 #19868C
tetradic
#8C1986 #8C5819 #198C1F #194D8C
square
#8C1986 #8C5819 #198C1F #194D8C
split-complementary
#8C1986 #4D8C19 #198C58
monochromatic
#240623 #581054 #8C1986 #C022B8 #DD42D5

Accessibility & contrast

On white

8.08
#8C1986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8C1986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1986
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1986#FFFFFF#000000##FFFFFF
##8C19861.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044689
Deuteranopia (green-blind)
#3F5583
Tritanopia (blue-blind)
#922B50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8c1986;
/* rgb */ color: rgb(140, 25, 134);
/* oklch */ color: oklch(45.6% 0.188 330.6);
Tailwind
colors: {
  custom: {
    50: '#b166aa',
    500: '#8c1986',
    950: '#000000',
  },
}
SCSS
$custom: #8c1986;
$custom-light: #b166aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1986",
  "rgb": {
    "r": 140,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 303.13,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45583,
    "c": 0.18798,
    "h": 330.6
  },
  "luminance": 0.07992
}

Semantic roles & 50–950 ramp

primary
#8C1986
secondary
#43BE49
accent
#ED453B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8C1986

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

Preview Lab → · Contrast checker → · Palette generator →

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