#861B87#861B87

#861B87 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.184 H 327.7°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#861B87
RGBrgb(134, 27, 135)
HSLhsl(299, 67%, 32%)
HSVhsv(299, 80%, 53%)
CMYKcmyk(0.7%, 80%, 0%, 47.1%)
CIE-LABlab(33.14, 55.94, -35.44)
CIE-LCHlch(33.14, 66.22, 327.65°)
OKLaboklab(44.81% 0.1557 -0.0984)
OKLCHoklch(44.81% 0.184 327.7)
XYZxyz(14.5964, 7.6025, 23.6156)
Luminance0.0760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861B87 #1C871B
analogous
#501B87 #861B87 #871B52
triadic
#861B87 #87861B #1B8786
tetradic
#861B87 #87501B #1C871B #1B5287
square
#861B87 #87501B #1C871B #1B5287
split-complementary
#861B87 #52871B #1B8750
monochromatic
#210721 #531154 #861B87 #B925BA #D843D9

Accessibility & contrast

On white

8.33
#861B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#861B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861B87
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861B87#FFFFFF#000000##FFFFFF
##861B871.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#3A5384
Tritanopia (blue-blind)
#8A2E51
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #861b87;
/* rgb */ color: rgb(134, 27, 135);
/* oklch */ color: oklch(44.8% 0.184 327.7);
Tailwind
colors: {
  custom: {
    50: '#ad66aa',
    500: '#861b87',
    950: '#000000',
  },
}
SCSS
$custom: #861b87;
$custom-light: #ad66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#861b87",
  "rgb": {
    "r": 134,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 299.444,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4481,
    "c": 0.18414,
    "h": 327.7
  },
  "luminance": 0.07601
}

Semantic roles & 50–950 ramp

primary
#861B87
secondary
#45BA44
accent
#EA3E40
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #861B87

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

Preview Lab → · Contrast checker → · Palette generator →

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