#861878#861878

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

Color values

HEX#861878
RGBrgb(134, 24, 120)
HSLhsl(308, 70%, 31%)
HSVhsv(308, 82%, 53%)
CMYKcmyk(0%, 82.1%, 10.4%, 47.5%)
CIE-LABlab(31.99, 54.35, -27.88)
CIE-LCHlch(31.99, 61.08, 332.85°)
OKLaboklab(43.71% 0.1581 -0.0764)
OKLCHoklch(43.71% 0.176 334.2)
XYZxyz(13.5485, 7.0789, 18.4185)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861878 #188626
analogous
#5D1886 #861878 #861841
triadic
#861878 #788618 #187886
tetradic
#861878 #865D18 #188626 #184186
square
#861878 #865D18 #188626 #184186
split-complementary
#861878 #418618 #18865D
monochromatic
#1E051B #520F4A #861878 #BA21A6 #DC3CC8

Accessibility & contrast

On white

8.69
#861878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#861878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861878
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861878#FFFFFF#000000##FFFFFF
##8618781.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #861878;
/* rgb */ color: rgb(134, 24, 120);
/* oklch */ color: oklch(43.7% 0.176 334.2);
Tailwind
colors: {
  custom: {
    50: '#ad649f',
    500: '#861878',
    950: '#000000',
  },
}
SCSS
$custom: #861878;
$custom-light: #ad649f;
$custom-dark: #000000;
JSON
{
  "hex": "#861878",
  "rgb": {
    "r": 134,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 307.636,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43707,
    "c": 0.17559,
    "h": 334.2
  },
  "luminance": 0.07078
}

Semantic roles & 50–950 ramp

primary
#861878
secondary
#40BA50
accent
#EC523B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #861878

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

Preview Lab → · Contrast checker → · Palette generator →

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