#861C7B#861C7B

#861C7B is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.174 H 332.9°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#861C7B
RGBrgb(134, 28, 123)
HSLhsl(306, 65%, 32%)
HSVhsv(306, 79%, 53%)
CMYKcmyk(0%, 79.1%, 8.2%, 47.5%)
CIE-LABlab(32.55, 53.68, -28.88)
CIE-LCHlch(32.55, 60.96, 331.72°)
OKLaboklab(44.16% 0.1548 -0.0794)
OKLCHoklch(44.16% 0.174 332.9)
XYZxyz(13.8220, 7.3301, 19.4219)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861C7B #1C8627
analogous
#5C1C86 #861C7B #861C46
triadic
#861C7B #7B861C #1C7B86
tetradic
#861C7B #865C1C #1C8627 #1C4686
square
#861C7B #865C1C #1C8627 #1C4686
split-complementary
#861C7B #46861C #1C865C
monochromatic
#21071E #53114D #861C7B #B927A9 #D844C9

Accessibility & contrast

On white

8.52
#861C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#861C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861C7B
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861C7B#FFFFFF#000000##FFFFFF
##861C7B1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16437E
Deuteranopia (green-blind)
#415279
Tritanopia (blue-blind)
#8C284A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #861c7b;
/* rgb */ color: rgb(134, 28, 123);
/* oklch */ color: oklch(44.2% 0.174 332.9);
Tailwind
colors: {
  custom: {
    50: '#ad66a1',
    500: '#861c7b',
    950: '#000000',
  },
}
SCSS
$custom: #861c7b;
$custom-light: #ad66a1;
$custom-dark: #000000;
JSON
{
  "hex": "#861c7b",
  "rgb": {
    "r": 134,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 306.226,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44161,
    "c": 0.17401,
    "h": 332.9
  },
  "luminance": 0.07329
}

Semantic roles & 50–950 ramp

primary
#861C7B
secondary
#45B951
accent
#E8513F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #861C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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