#861A7D#861A7D

#861A7D is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.177 H 332.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#861A7D
RGBrgb(134, 26, 125)
HSLhsl(305, 68%, 31%)
HSVhsv(305, 81%, 53%)
CMYKcmyk(0%, 80.6%, 6.7%, 47.5%)
CIE-LABlab(32.46, 54.58, -30.28)
CIE-LCHlch(32.46, 62.42, 330.98°)
OKLaboklab(44.13% 0.1566 -0.0834)
OKLCHoklch(44.13% 0.177 332)
XYZxyz(13.9026, 7.2890, 20.0728)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861A7D #1A8623
analogous
#591A86 #861A7D #861A47
triadic
#861A7D #7D861A #1A7D86
tetradic
#861A7D #86591A #1A8623 #1A4786
square
#861A7D #86591A #1A8623 #1A4786
split-complementary
#861A7D #47861A #1A8659
monochromatic
#1F061D #53104D #861A7D #B924AD #DA40CD

Accessibility & contrast

On white

8.54
#861A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#861A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861A7D
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861A7D#FFFFFF#000000##FFFFFF
##861A7D1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104380
Deuteranopia (green-blind)
#3F527A
Tritanopia (blue-blind)
#8C284B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #861a7d;
/* rgb */ color: rgb(134, 26, 125);
/* oklch */ color: oklch(44.1% 0.177 332.0);
Tailwind
colors: {
  custom: {
    50: '#ad65a3',
    500: '#861a7d',
    950: '#000000',
  },
}
SCSS
$custom: #861a7d;
$custom-light: #ad65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#861a7d",
  "rgb": {
    "r": 134,
    "g": 26,
    "b": 125
  },
  "hsl": {
    "h": 305,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44133,
    "c": 0.17744,
    "h": 332
  },
  "luminance": 0.07288
}

Semantic roles & 50–950 ramp

primary
#861A7D
secondary
#42B94C
accent
#EA4C3D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #861A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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