#861E7B#861E7B

#861E7B is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.172 H 332.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#861E7B
RGBrgb(134, 30, 123)
HSLhsl(306, 63%, 32%)
HSVhsv(306, 78%, 53%)
CMYKcmyk(0%, 77.6%, 8.2%, 47.5%)
CIE-LABlab(32.76, 53.06, -28.54)
CIE-LCHlch(32.76, 60.25, 331.72°)
OKLaboklab(44.32% 0.153 -0.0784)
OKLCHoklch(44.32% 0.172 332.9)
XYZxyz(13.8710, 7.4281, 19.4383)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861E7B #1E8629
analogous
#5D1E86 #861E7B #861E47
triadic
#861E7B #7B861E #1E7B86
tetradic
#861E7B #865D1E #1E8629 #1E4786
square
#861E7B #865D1E #1E8629 #1E4786
split-complementary
#861E7B #47861E #1E865D
monochromatic
#22081F #54134D #861E7B #B829A9 #D648C7

Accessibility & contrast

On white

8.45
#861E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#861E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861E7B
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861E7B#FFFFFF#000000##FFFFFF
##861E7B1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18447D
Deuteranopia (green-blind)
#415279
Tritanopia (blue-blind)
#8C294B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #861e7b;
/* rgb */ color: rgb(134, 30, 123);
/* oklch */ color: oklch(44.3% 0.172 332.9);
Tailwind
colors: {
  custom: {
    50: '#ad66a1',
    500: '#861e7b',
    950: '#000000',
  },
}
SCSS
$custom: #861e7b;
$custom-light: #ad66a1;
$custom-dark: #000000;
JSON
{
  "hex": "#861e7b",
  "rgb": {
    "r": 134,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 306.346,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44316,
    "c": 0.17196,
    "h": 332.9
  },
  "luminance": 0.07427
}

Semantic roles & 50–950 ramp

primary
#861E7B
secondary
#47B853
accent
#E65341
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #861E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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