#861A87#861A87

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

Color values

HEX#861A87
RGBrgb(134, 26, 135)
HSLhsl(299, 68%, 32%)
HSVhsv(299, 81%, 53%)
CMYKcmyk(0.7%, 80.7%, 0%, 47.1%)
CIE-LABlab(33.04, 56.22, -35.59)
CIE-LCHlch(33.04, 66.54, 327.66°)
OKLaboklab(44.74% 0.1565 -0.0988)
OKLCHoklch(44.74% 0.185 327.7)
XYZxyz(14.5739, 7.5575, 23.6081)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861A87 #1B871A
analogous
#501A87 #861A87 #871A52
triadic
#861A87 #87861A #1A8786
tetradic
#861A87 #87501A #1B871A #1A5287
square
#861A87 #87501A #1B871A #1A5287
split-complementary
#861A87 #52871A #1A8750
monochromatic
#200620 #531054 #861A87 #B924BA #D941DA

Accessibility & contrast

On white

8.36
#861A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#861A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861A87
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861A87#FFFFFF#000000##FFFFFF
##861A871.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#395284
Tritanopia (blue-blind)
#8A2D51
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #861a87;
/* rgb */ color: rgb(134, 26, 135);
/* oklch */ color: oklch(44.7% 0.185 327.7);
Tailwind
colors: {
  custom: {
    50: '#ad65aa',
    500: '#861a87',
    950: '#000000',
  },
}
SCSS
$custom: #861a87;
$custom-light: #ad65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#861a87",
  "rgb": {
    "r": 134,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 299.45,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44741,
    "c": 0.18505,
    "h": 327.7
  },
  "luminance": 0.07556
}

Semantic roles & 50–950 ramp

primary
#861A87
secondary
#44BA42
accent
#EB3D3F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #861A87

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

Preview Lab → · Contrast checker → · Palette generator →

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