#861E8D#861E8D

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

Color values

HEX#861E8D
RGBrgb(134, 30, 141)
HSLhsl(296, 65%, 34%)
HSVhsv(296, 79%, 55%)
CMYKcmyk(5%, 78.7%, 0%, 44.7%)
CIE-LABlab(33.82, 56.09, -38.07)
CIE-LCHlch(33.82, 67.79, 325.83°)
OKLaboklab(45.41% 0.1529 -0.1061)
OKLCHoklch(45.41% 0.186 325.2)
XYZxyz(15.1032, 7.9210, 25.9275)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861E8D #258D1E
analogous
#4E1E8D #861E8D #8D1E5C
triadic
#861E8D #8D861E #1E8D86
tetradic
#861E8D #8D4E1E #258D1E #1E5C8D
square
#861E8D #8D4E1E #258D1E #1E5C8D
split-complementary
#861E8D #5C8D1E #1E8D4E
monochromatic
#260928 #56135B #861E8D #B629BF #D04CD9

Accessibility & contrast

On white

8.13
#861E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #861E8D
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861E8D#FFFFFF#000000##FFFFFF
##861E8D1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#37548A
Tritanopia (blue-blind)
#893355
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #861e8d;
/* rgb */ color: rgb(134, 30, 141);
/* oklch */ color: oklch(45.4% 0.186 325.2);
Tailwind
colors: {
  custom: {
    50: '#ad67af',
    500: '#861e8d',
    950: '#000000',
  },
}
SCSS
$custom: #861e8d;
$custom-light: #ad67af;
$custom-dark: #000000;
JSON
{
  "hex": "#861e8d",
  "rgb": {
    "r": 134,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 296.216,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45409,
    "c": 0.18606,
    "h": 325.2
  },
  "luminance": 0.0792
}

Semantic roles & 50–950 ramp

primary
#861E8D
secondary
#52BC4B
accent
#E8404B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #861E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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