#861781#861781

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

Color values

HEX#861781
RGBrgb(134, 23, 129)
HSLhsl(303, 71%, 31%)
HSVhsv(303, 83%, 53%)
CMYKcmyk(0%, 82.8%, 3.7%, 47.5%)
CIE-LABlab(32.41, 56.03, -32.87)
CIE-LCHlch(32.41, 64.96, 329.61°)
OKLaboklab(44.17% 0.1589 -0.0909)
OKLCHoklch(44.17% 0.183 330.2)
XYZxyz(14.1003, 7.2673, 21.4247)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861781 #17861C
analogous
#531786 #861781 #861749
triadic
#861781 #818617 #178186
tetradic
#861781 #865317 #17861C #174986
square
#861781 #865317 #17861C #174986
split-complementary
#861781 #498617 #178653
monochromatic
#1E051C #520E4F #861781 #BA20B3 #DD3AD6

Accessibility & contrast

On white

8.56
#861781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#861781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861781
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861781#FFFFFF#000000##FFFFFF
##8617811.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014384
Deuteranopia (green-blind)
#3C517E
Tritanopia (blue-blind)
#8B284D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #861781;
/* rgb */ color: rgb(134, 23, 129);
/* oklch */ color: oklch(44.2% 0.183 330.2);
Tailwind
colors: {
  custom: {
    50: '#ad64a6',
    500: '#861781',
    950: '#000000',
  },
}
SCSS
$custom: #861781;
$custom-light: #ad64a6;
$custom-dark: #000000;
JSON
{
  "hex": "#861781",
  "rgb": {
    "r": 134,
    "g": 23,
    "b": 129
  },
  "hsl": {
    "h": 302.703,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44173,
    "c": 0.18308,
    "h": 330.2
  },
  "luminance": 0.07266
}

Semantic roles & 50–950 ramp

primary
#861781
secondary
#3FBA44
accent
#ED423A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #861781

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

Preview Lab → · Contrast checker → · Palette generator →

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