#861987#861987

#861987 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.186 H 327.7°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#861987
RGBrgb(134, 25, 135)
HSLhsl(299, 69%, 31%)
HSVhsv(299, 81%, 53%)
CMYKcmyk(0.7%, 81.5%, 0%, 47.1%)
CIE-LABlab(32.95, 56.50, -35.74)
CIE-LCHlch(32.95, 66.85, 327.68°)
OKLaboklab(44.67% 0.1572 -0.0993)
OKLCHoklch(44.67% 0.186 327.7)
XYZxyz(14.5521, 7.5139, 23.6009)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861987 #1A8719
analogous
#4F1987 #861987 #871951
triadic
#861987 #878619 #198786
tetradic
#861987 #874F19 #1A8719 #195187
square
#861987 #874F19 #1A8719 #195187
split-complementary
#861987 #518719 #19874F
monochromatic
#1F0620 #530F53 #861987 #B923BB #DA3FDB

Accessibility & contrast

On white

8.39
#861987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#861987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861987
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861987#FFFFFF#000000##FFFFFF
##8619871.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#395284
Tritanopia (blue-blind)
#8A2D51
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #861987;
/* rgb */ color: rgb(134, 25, 135);
/* oklch */ color: oklch(44.7% 0.186 327.7);
Tailwind
colors: {
  custom: {
    50: '#ad65aa',
    500: '#861987',
    950: '#000000',
  },
}
SCSS
$custom: #861987;
$custom-light: #ad65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#861987",
  "rgb": {
    "r": 134,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 299.455,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44674,
    "c": 0.18593,
    "h": 327.7
  },
  "luminance": 0.07513
}

Semantic roles & 50–950 ramp

primary
#861987
secondary
#42BA41
accent
#EC3C3E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #861987

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

Preview Lab → · Contrast checker → · Palette generator →

#861987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva