#861877#861877

#861877 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.175 H 334.7°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#861877
RGBrgb(134, 24, 119)
HSLhsl(308, 70%, 31%)
HSVhsv(308, 82%, 53%)
CMYKcmyk(0%, 82.1%, 11.2%, 47.5%)
CIE-LABlab(31.93, 54.20, -27.33)
CIE-LCHlch(31.93, 60.70, 333.24°)
OKLaboklab(43.65% 0.158 -0.0749)
OKLCHoklch(43.65% 0.175 334.7)
XYZxyz(13.4881, 7.0547, 18.1005)
Luminance0.0705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861877 #188627
analogous
#5E1886 #861877 #861840
triadic
#861877 #778618 #187786
tetradic
#861877 #865E18 #188627 #184086
square
#861877 #865E18 #188627 #184086
split-complementary
#861877 #408618 #18865E
monochromatic
#1E051B #520F49 #861877 #BA21A5 #DC3CC6

Accessibility & contrast

On white

8.71
#861877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #861877
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861877#FFFFFF#000000##FFFFFF
##8618771.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164179
Deuteranopia (green-blind)
#415175
Tritanopia (blue-blind)
#8D2347
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #861877;
/* rgb */ color: rgb(134, 24, 119);
/* oklch */ color: oklch(43.6% 0.175 334.7);
Tailwind
colors: {
  custom: {
    50: '#ad649e',
    500: '#861877',
    950: '#000000',
  },
}
SCSS
$custom: #861877;
$custom-light: #ad649e;
$custom-dark: #000000;
JSON
{
  "hex": "#861877",
  "rgb": {
    "r": 134,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 308.182,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4365,
    "c": 0.17488,
    "h": 334.7
  },
  "luminance": 0.07054
}

Semantic roles & 50–950 ramp

primary
#861877
secondary
#40BA51
accent
#EC543B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #861877

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

Preview Lab → · Contrast checker → · Palette generator →

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