#861D8D#861D8D

#861D8D is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.187 H 325.3°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#861D8D
RGBrgb(134, 29, 141)
HSLhsl(296, 66%, 33%)
HSVhsv(296, 79%, 55%)
CMYKcmyk(5%, 79.4%, 0%, 44.7%)
CIE-LABlab(33.71, 56.39, -38.24)
CIE-LCHlch(33.71, 68.13, 325.86°)
OKLaboklab(45.34% 0.1537 -0.1066)
OKLCHoklch(45.34% 0.187 325.3)
XYZxyz(15.0782, 7.8712, 25.9192)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861D8D #248D1D
analogous
#4E1D8D #861D8D #8D1D5C
triadic
#861D8D #8D861D #1D8D86
tetradic
#861D8D #8D4E1D #248D1D #1D5C8D
square
#861D8D #8D4E1D #248D1D #1D5C8D
split-complementary
#861D8D #5C8D1D #1D8D4E
monochromatic
#260827 #56135A #861D8D #B627C0 #D14BDA

Accessibility & contrast

On white

8.16
#861D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#861D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861D8D
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861D8D#FFFFFF#000000##FFFFFF
##861D8D1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#36548A
Tritanopia (blue-blind)
#893255
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #861d8d;
/* rgb */ color: rgb(134, 29, 141);
/* oklch */ color: oklch(45.3% 0.187 325.3);
Tailwind
colors: {
  custom: {
    50: '#ad67af',
    500: '#861d8d',
    950: '#000000',
  },
}
SCSS
$custom: #861d8d;
$custom-light: #ad67af;
$custom-dark: #000000;
JSON
{
  "hex": "#861d8d",
  "rgb": {
    "r": 134,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 296.25,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45335,
    "c": 0.18702,
    "h": 325.3
  },
  "luminance": 0.0787
}

Semantic roles & 50–950 ramp

primary
#861D8D
secondary
#51BC4A
accent
#E93F4A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #861D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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