#861A7B#861A7B

#861A7B is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.176 H 332.8°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#861A7B
RGBrgb(134, 26, 123)
HSLhsl(306, 68%, 31%)
HSVhsv(306, 81%, 53%)
CMYKcmyk(0%, 80.6%, 8.2%, 47.5%)
CIE-LABlab(32.34, 54.27, -29.20)
CIE-LCHlch(32.34, 61.62, 331.71°)
OKLaboklab(44.02% 0.1566 -0.0803)
OKLCHoklch(44.02% 0.176 332.8)
XYZxyz(13.7761, 7.2384, 19.4066)
Luminance0.0724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861A7B #1A8625
analogous
#5B1A86 #861A7B #861A45
triadic
#861A7B #7B861A #1A7B86
tetradic
#861A7B #865B1A #1A8625 #1A4586
square
#861A7B #865B1A #1A8625 #1A4586
split-complementary
#861A7B #45861A #1A865B
monochromatic
#1F061D #53104C #861A7B #B924AA #DA40CA

Accessibility & contrast

On white

8.58
#861A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#861A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861A7B
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861A7B#FFFFFF#000000##FFFFFF
##861A7B1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13427E
Deuteranopia (green-blind)
#405179
Tritanopia (blue-blind)
#8C274A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #861a7b;
/* rgb */ color: rgb(134, 26, 123);
/* oklch */ color: oklch(44.0% 0.176 332.8);
Tailwind
colors: {
  custom: {
    50: '#ad65a1',
    500: '#861a7b',
    950: '#000000',
  },
}
SCSS
$custom: #861a7b;
$custom-light: #ad65a1;
$custom-dark: #000000;
JSON
{
  "hex": "#861a7b",
  "rgb": {
    "r": 134,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 306.111,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44016,
    "c": 0.17595,
    "h": 332.8
  },
  "luminance": 0.07237
}

Semantic roles & 50–950 ramp

primary
#861A7B
secondary
#42B94F
accent
#EA4F3D
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11060F
muted
#807A7F

Preview Lab

Preview with #861A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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