#861A78#861A78

#861A78 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.174 H 334.2°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#861A78
RGBrgb(134, 26, 120)
HSLhsl(308, 68%, 31%)
HSVhsv(308, 81%, 53%)
CMYKcmyk(0%, 80.6%, 10.4%, 47.5%)
CIE-LABlab(32.18, 53.80, -27.57)
CIE-LCHlch(32.18, 60.45, 332.86°)
OKLaboklab(43.84% 0.1564 -0.0756)
OKLCHoklch(43.84% 0.174 334.2)
XYZxyz(13.5912, 7.1644, 18.4327)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861A78 #1A8628
analogous
#5E1A86 #861A78 #861A42
triadic
#861A78 #78861A #1A7886
tetradic
#861A78 #865E1A #1A8628 #1A4286
square
#861A78 #865E1A #1A8628 #1A4286
split-complementary
#861A78 #42861A #1A865E
monochromatic
#1F061C #53104A #861A78 #B924A6 #DA40C6

Accessibility & contrast

On white

8.63
#861A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#861A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861A78
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861A78#FFFFFF#000000##FFFFFF
##861A781.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17427A
Deuteranopia (green-blind)
#415176
Tritanopia (blue-blind)
#8D2548
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #861a78;
/* rgb */ color: rgb(134, 26, 120);
/* oklch */ color: oklch(43.8% 0.174 334.2);
Tailwind
colors: {
  custom: {
    50: '#ad659f',
    500: '#861a78',
    950: '#000000',
  },
}
SCSS
$custom: #861a78;
$custom-light: #ad659f;
$custom-dark: #000000;
JSON
{
  "hex": "#861a78",
  "rgb": {
    "r": 134,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 307.778,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43844,
    "c": 0.17374,
    "h": 334.2
  },
  "luminance": 0.07163
}

Semantic roles & 50–950 ramp

primary
#861A78
secondary
#42B952
accent
#EA543D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #861A78

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

Preview Lab → · Contrast checker → · Palette generator →

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