#861882#861882

#861882 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.183 H 329.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#861882
RGBrgb(134, 24, 130)
HSLhsl(302, 70%, 31%)
HSVhsv(302, 82%, 53%)
CMYKcmyk(0%, 82.1%, 3%, 47.5%)
CIE-LABlab(32.56, 55.94, -33.25)
CIE-LCHlch(32.56, 65.07, 329.27°)
OKLaboklab(44.3% 0.1582 -0.092)
OKLCHoklch(44.3% 0.183 329.8)
XYZxyz(14.1873, 7.3344, 21.7832)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861882 #18861C
analogous
#531886 #861882 #86184B
triadic
#861882 #828618 #188286
tetradic
#861882 #865318 #18861C #184B86
square
#861882 #865318 #18861C #184B86
split-complementary
#861882 #4B8618 #188653
monochromatic
#1E051D #520F50 #861882 #BA21B4 #DC3CD6

Accessibility & contrast

On white

8.51
#861882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#861882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861882
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861882#FFFFFF#000000##FFFFFF
##8618821.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014385
Deuteranopia (green-blind)
#3C527F
Tritanopia (blue-blind)
#8B2A4E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #861882;
/* rgb */ color: rgb(134, 24, 130);
/* oklch */ color: oklch(44.3% 0.183 329.8);
Tailwind
colors: {
  custom: {
    50: '#ad64a7',
    500: '#861882',
    950: '#000000',
  },
}
SCSS
$custom: #861882;
$custom-light: #ad64a7;
$custom-dark: #000000;
JSON
{
  "hex": "#861882",
  "rgb": {
    "r": 134,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 302.182,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.44298,
    "c": 0.18299,
    "h": 329.8
  },
  "luminance": 0.07333
}

Semantic roles & 50–950 ramp

primary
#861882
secondary
#40BA44
accent
#EC423B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #861882

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

Preview Lab → · Contrast checker → · Palette generator →

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