#861D8B#861D8B

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

Color values

HEX#861D8B
RGBrgb(134, 29, 139)
HSLhsl(297, 65%, 33%)
HSVhsv(297, 79%, 55%)
CMYKcmyk(3.6%, 79.1%, 0%, 45.5%)
CIE-LABlab(33.59, 56.04, -37.20)
CIE-LCHlch(33.59, 67.27, 326.42°)
OKLaboklab(45.21% 0.1538 -0.1035)
OKLCHoklch(45.21% 0.185 326.1)
XYZxyz(14.9308, 7.8122, 25.1426)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861D8B #228B1D
analogous
#4F1D8B #861D8B #8B1D59
triadic
#861D8B #8B861D #1D8B86
tetradic
#861D8B #8B4F1D #228B1D #1D598B
square
#861D8B #8B4F1D #228B1D #1D598B
split-complementary
#861D8B #598B1D #1D8B4F
monochromatic
#240826 #551258 #861D8B #B728BE #D349D9

Accessibility & contrast

On white

8.20
#861D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #861D8B
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861D8B#FFFFFF#000000##FFFFFF
##861D8B1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#385388
Tritanopia (blue-blind)
#8A3154
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #861d8b;
/* rgb */ color: rgb(134, 29, 139);
/* oklch */ color: oklch(45.2% 0.185 326.1);
Tailwind
colors: {
  custom: {
    50: '#ad67ad',
    500: '#861d8b',
    950: '#000000',
  },
}
SCSS
$custom: #861d8b;
$custom-light: #ad67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#861d8b",
  "rgb": {
    "r": 134,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 297.273,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45207,
    "c": 0.18542,
    "h": 326.1
  },
  "luminance": 0.07811
}

Semantic roles & 50–950 ramp

primary
#861D8B
secondary
#4EBB49
accent
#E83F47
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #861D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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