#861D8E#861D8E

#861D8E is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.188 H 324.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#861D8E
RGBrgb(134, 29, 142)
HSLhsl(296, 66%, 34%)
HSVhsv(296, 80%, 56%)
CMYKcmyk(5.6%, 79.6%, 0%, 44.3%)
CIE-LABlab(33.78, 56.56, -38.75)
CIE-LCHlch(33.78, 68.57, 325.58°)
OKLaboklab(45.4% 0.1536 -0.1081)
OKLCHoklch(45.4% 0.188 324.9)
XYZxyz(15.1530, 7.9011, 26.3129)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861D8E #258E1D
analogous
#4D1D8E #861D8E #8E1D5D
triadic
#861D8E #8E861D #1D8E86
tetradic
#861D8E #8E4D1D #258E1D #1D5D8E
square
#861D8E #8E4D1D #258E1D #1D5D8E
split-complementary
#861D8E #5D8E1D #1D8E4D
monochromatic
#260828 #56135B #861D8E #B627C1 #D04BDA

Accessibility & contrast

On white

8.14
#861D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#861D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861D8E
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861D8E#FFFFFF#000000##FFFFFF
##861D8E1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#36548B
Tritanopia (blue-blind)
#893355
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #861d8e;
/* rgb */ color: rgb(134, 29, 142);
/* oklch */ color: oklch(45.4% 0.188 324.9);
Tailwind
colors: {
  custom: {
    50: '#ad67b0',
    500: '#861d8e',
    950: '#000000',
  },
}
SCSS
$custom: #861d8e;
$custom-light: #ad67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#861d8e",
  "rgb": {
    "r": 134,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 295.752,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.454,
    "c": 0.18782,
    "h": 324.9
  },
  "luminance": 0.079
}

Semantic roles & 50–950 ramp

primary
#861D8E
secondary
#52BD4A
accent
#E93F4B
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #861D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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