#861D7E#861D7E

#861D7E is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.175 H 331.5°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#861D7E
RGBrgb(134, 29, 126)
HSLhsl(305, 64%, 32%)
HSVhsv(305, 78%, 53%)
CMYKcmyk(0%, 78.4%, 6%, 47.5%)
CIE-LABlab(32.82, 53.86, -30.33)
CIE-LCHlch(32.82, 61.81, 330.61°)
OKLaboklab(44.41% 0.1541 -0.0836)
OKLCHoklch(44.41% 0.175 331.5)
XYZxyz(14.0368, 7.4546, 20.4342)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861D7E #1D8625
analogous
#591D86 #861D7E #861D4A
triadic
#861D7E #7E861D #1D7E86
tetradic
#861D7E #86591D #1D8625 #1D4A86
square
#861D7E #86591D #1D8625 #1D4A86
split-complementary
#861D7E #4A861D #1D8659
monochromatic
#21071F #54124F #861D7E #B828AD #D746CC

Accessibility & contrast

On white

8.43
#861D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#861D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##861D7E#FFFFFF#000000##FFFFFF
##861D7E1.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)
#134481
Deuteranopia (green-blind)
#40527C
Tritanopia (blue-blind)
#8C2A4C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #861d7e;
/* rgb */ color: rgb(134, 29, 126);
/* oklch */ color: oklch(44.4% 0.175 331.5);
Tailwind
colors: {
  custom: {
    50: '#ad66a4',
    500: '#861d7e',
    950: '#000000',
  },
}
SCSS
$custom: #861d7e;
$custom-light: #ad66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#861d7e",
  "rgb": {
    "r": 134,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 304.571,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44411,
    "c": 0.17526,
    "h": 331.5
  },
  "luminance": 0.07453
}

Semantic roles & 50–950 ramp

primary
#861D7E
secondary
#46B94F
accent
#E74D40
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #861D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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