#861E8A#861E8A

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

Color values

HEX#861E8A
RGBrgb(134, 30, 138)
HSLhsl(298, 64%, 33%)
HSVhsv(298, 78%, 54%)
CMYKcmyk(2.9%, 78.3%, 0%, 45.9%)
CIE-LABlab(33.63, 55.56, -36.51)
CIE-LCHlch(33.63, 66.49, 326.69°)
OKLaboklab(45.22% 0.153 -0.1015)
OKLCHoklch(45.22% 0.184 326.4)
XYZxyz(14.8830, 7.8329, 24.7678)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861E8A #228A1E
analogous
#501E8A #861E8A #8A1E58
triadic
#861E8A #8A861E #1E8A86
tetradic
#861E8A #8A501E #228A1E #1E588A
square
#861E8A #8A501E #228A1E #1E588A
split-complementary
#861E8A #588A1E #1E8A50
monochromatic
#240825 #551358 #861E8A #B729BC #D34BD8

Accessibility & contrast

On white

8.18
#861E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #861E8A
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861E8A#FFFFFF#000000##FFFFFF
##861E8A1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #861e8a;
/* rgb */ color: rgb(134, 30, 138);
/* oklch */ color: oklch(45.2% 0.184 326.4);
Tailwind
colors: {
  custom: {
    50: '#ad67ad',
    500: '#861e8a',
    950: '#000000',
  },
}
SCSS
$custom: #861e8a;
$custom-light: #ad67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#861e8a",
  "rgb": {
    "r": 134,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 297.778,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45218,
    "c": 0.18364,
    "h": 326.4
  },
  "luminance": 0.07832
}

Semantic roles & 50–950 ramp

primary
#861E8A
secondary
#4EBA4A
accent
#E74147
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #861E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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