#861E8B#861E8B

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

Color values

HEX#861E8B
RGBrgb(134, 30, 139)
HSLhsl(297, 64%, 33%)
HSVhsv(297, 78%, 55%)
CMYKcmyk(3.6%, 78.4%, 0%, 45.5%)
CIE-LABlab(33.69, 55.74, -37.04)
CIE-LCHlch(33.69, 66.92, 326.40°)
OKLaboklab(45.28% 0.153 -0.103)
OKLCHoklch(45.28% 0.184 326)
XYZxyz(14.9557, 7.8620, 25.1509)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861E8B #238B1E
analogous
#4F1E8B #861E8B #8B1E59
triadic
#861E8B #8B861E #1E8B86
tetradic
#861E8B #8B4F1E #238B1E #1E598B
square
#861E8B #8B4F1E #238B1E #1E598B
split-complementary
#861E8B #598B1E #1E8B4F
monochromatic
#250826 #551359 #861E8B #B729BD #D24BD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##861E8B#FFFFFF#000000##FFFFFF
##861E8B1.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)
#00478E
Deuteranopia (green-blind)
#385488
Tritanopia (blue-blind)
#8A3254
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #861e8b;
/* rgb */ color: rgb(134, 30, 139);
/* oklch */ color: oklch(45.3% 0.184 326.0);
Tailwind
colors: {
  custom: {
    50: '#ad67ad',
    500: '#861e8b',
    950: '#000000',
  },
}
SCSS
$custom: #861e8b;
$custom-light: #ad67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#861e8b",
  "rgb": {
    "r": 134,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 297.248,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45281,
    "c": 0.18444,
    "h": 326
  },
  "luminance": 0.07861
}

Semantic roles & 50–950 ramp

primary
#861E8B
secondary
#4FBB4A
accent
#E74048
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #861E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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