#861788#861788

#861788 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.188 H 327.4°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#861788
RGBrgb(134, 23, 136)
HSLhsl(299, 71%, 31%)
HSVhsv(299, 83%, 53%)
CMYKcmyk(1.5%, 83.1%, 0%, 46.7%)
CIE-LABlab(32.83, 57.18, -36.55)
CIE-LCHlch(32.83, 67.87, 327.41°)
OKLaboklab(44.61% 0.1586 -0.1016)
OKLCHoklch(44.61% 0.188 327.4)
XYZxyz(14.5816, 7.4598, 23.9597)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861788 #198817
analogous
#4D1788 #861788 #881751
triadic
#861788 #888617 #178886
tetradic
#861788 #884D17 #198817 #175188
square
#861788 #884D17 #198817 #175188
split-complementary
#861788 #518817 #17884D
monochromatic
#1F051F #520E54 #861788 #BA20BC #DB3BDE

Accessibility & contrast

On white

8.43
#861788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#861788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861788
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861788#FFFFFF#000000##FFFFFF
##8617881.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#375285
Tritanopia (blue-blind)
#8A2C51
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #861788;
/* rgb */ color: rgb(134, 23, 136);
/* oklch */ color: oklch(44.6% 0.188 327.4);
Tailwind
colors: {
  custom: {
    50: '#ad64ab',
    500: '#861788',
    950: '#000000',
  },
}
SCSS
$custom: #861788;
$custom-light: #ad64ab;
$custom-dark: #000000;
JSON
{
  "hex": "#861788",
  "rgb": {
    "r": 134,
    "g": 23,
    "b": 136
  },
  "hsl": {
    "h": 298.938,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4461,
    "c": 0.18839,
    "h": 327.4
  },
  "luminance": 0.07459
}

Semantic roles & 50–950 ramp

primary
#861788
secondary
#41BC3F
accent
#EE3A3D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #861788

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

Preview Lab → · Contrast checker → · Palette generator →

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