#861786#861786

#861786 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.187 H 328.2°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#861786
RGBrgb(134, 23, 134)
HSLhsl(300, 71%, 31%)
HSVhsv(300, 83%, 53%)
CMYKcmyk(0%, 82.8%, 0%, 47.5%)
CIE-LABlab(32.71, 56.85, -35.51)
CIE-LCHlch(32.71, 67.03, 328.01°)
OKLaboklab(44.48% 0.1588 -0.0985)
OKLCHoklch(44.48% 0.187 328.2)
XYZxyz(14.4408, 7.4035, 23.2181)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861786 #178617
analogous
#4E1786 #861786 #86174E
triadic
#861786 #868617 #178686
tetradic
#861786 #864E17 #178617 #174E86
square
#861786 #864E17 #178617 #174E86
split-complementary
#861786 #4E8617 #17864E
monochromatic
#1E051E #520E52 #861786 #BA20BA #DD3ADD

Accessibility & contrast

On white

8.47
#861786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#861786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861786
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861786#FFFFFF#000000##FFFFFF
##8617861.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#395283
Tritanopia (blue-blind)
#8A2B50
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #861786;
/* rgb */ color: rgb(134, 23, 134);
/* oklch */ color: oklch(44.5% 0.187 328.2);
Tailwind
colors: {
  custom: {
    50: '#ad64aa',
    500: '#861786',
    950: '#000000',
  },
}
SCSS
$custom: #861786;
$custom-light: #ad64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#861786",
  "rgb": {
    "r": 134,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 300,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44483,
    "c": 0.18685,
    "h": 328.2
  },
  "luminance": 0.07402
}

Semantic roles & 50–950 ramp

primary
#861786
secondary
#3FBA3F
accent
#ED3A3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #861786

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

Preview Lab → · Contrast checker → · Palette generator →

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