#861D8A#861D8A

#861D8A is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.185 H 326.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#861D8A
RGBrgb(134, 29, 138)
HSLhsl(298, 65%, 33%)
HSVhsv(298, 79%, 54%)
CMYKcmyk(2.9%, 79%, 0%, 45.9%)
CIE-LABlab(33.53, 55.87, -36.68)
CIE-LCHlch(33.53, 66.83, 326.71°)
OKLaboklab(45.14% 0.1539 -0.102)
OKLCHoklch(45.14% 0.185 326.5)
XYZxyz(14.8581, 7.7831, 24.7595)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861D8A #218A1D
analogous
#4F1D8A #861D8A #8A1D58
triadic
#861D8A #8A861D #1D8A86
tetradic
#861D8A #8A4F1D #218A1D #1D588A
square
#861D8A #8A4F1D #218A1D #1D588A
split-complementary
#861D8A #588A1D #1D8A4F
monochromatic
#240825 #551257 #861D8A #B728BD #D349D9

Accessibility & contrast

On white

8.21
#861D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#861D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861D8A
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861D8A#FFFFFF#000000##FFFFFF
##861D8A1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#385387
Tritanopia (blue-blind)
#8A3153
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #861d8a;
/* rgb */ color: rgb(134, 29, 138);
/* oklch */ color: oklch(45.1% 0.185 326.5);
Tailwind
colors: {
  custom: {
    50: '#ad67ad',
    500: '#861d8a',
    950: '#000000',
  },
}
SCSS
$custom: #861d8a;
$custom-light: #ad67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#861d8a",
  "rgb": {
    "r": 134,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 297.798,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45143,
    "c": 0.18462,
    "h": 326.5
  },
  "luminance": 0.07782
}

Semantic roles & 50–950 ramp

primary
#861D8A
secondary
#4CBB48
accent
#E84046
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #861D8A

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

Preview Lab → · Contrast checker → · Palette generator →

#861D8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva