#861778#861778

#861778 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.176 H 334.2°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#861778
RGBrgb(134, 23, 120)
HSLhsl(308, 71%, 31%)
HSVhsv(308, 83%, 53%)
CMYKcmyk(0%, 82.8%, 10.4%, 47.5%)
CIE-LABlab(31.89, 54.62, -28.02)
CIE-LCHlch(31.89, 61.39, 332.84°)
OKLaboklab(43.64% 0.1589 -0.0768)
OKLCHoklch(43.64% 0.176 334.2)
XYZxyz(13.5282, 7.0384, 18.4117)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861778 #178625
analogous
#5C1786 #861778 #861740
triadic
#861778 #788617 #177886
tetradic
#861778 #865C17 #178625 #174086
square
#861778 #865C17 #178625 #174086
split-complementary
#861778 #408617 #17865C
monochromatic
#1E051A #520E49 #861778 #BA20A7 #DD3AC9

Accessibility & contrast

On white

8.72
#861778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#861778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861778
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861778#FFFFFF#000000##FFFFFF
##8617781.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14417A
Deuteranopia (green-blind)
#415176
Tritanopia (blue-blind)
#8D2348
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #861778;
/* rgb */ color: rgb(134, 23, 120);
/* oklch */ color: oklch(43.6% 0.176 334.2);
Tailwind
colors: {
  custom: {
    50: '#ad649f',
    500: '#861778',
    950: '#000000',
  },
}
SCSS
$custom: #861778;
$custom-light: #ad649f;
$custom-dark: #000000;
JSON
{
  "hex": "#861778",
  "rgb": {
    "r": 134,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 307.568,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43641,
    "c": 0.17647,
    "h": 334.2
  },
  "luminance": 0.07037
}

Semantic roles & 50–950 ramp

primary
#861778
secondary
#3FBA4E
accent
#ED513A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #861778

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

Preview Lab → · Contrast checker → · Palette generator →

#861778 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva