#861A8B#861A8B

#861A8B is a dark, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.188 H 326.1°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#861A8B
RGBrgb(134, 26, 139)
HSLhsl(297, 68%, 32%)
HSVhsv(297, 81%, 55%)
CMYKcmyk(3.6%, 81.3%, 0%, 45.5%)
CIE-LABlab(33.29, 56.90, -37.68)
CIE-LCHlch(33.29, 68.25, 326.49°)
OKLaboklab(45% 0.1562 -0.1049)
OKLCHoklch(45% 0.188 326.1)
XYZxyz(14.8608, 7.6722, 25.1193)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861A8B #1F8B1A
analogous
#4D1A8B #861A8B #8B1A58
triadic
#861A8B #8B861A #1A8B86
tetradic
#861A8B #8B4D1A #1F8B1A #1A588B
square
#861A8B #8B4D1A #1F8B1A #1A588B
split-complementary
#861A8B #588B1A #1A8B4D
monochromatic
#230724 #541057 #861A8B #B824BF #D543DC

Accessibility & contrast

On white

8.29
#861A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#861A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861A8B
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861A8B#FFFFFF#000000##FFFFFF
##861A8B1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#375388
Tritanopia (blue-blind)
#8A3053
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #861a8b;
/* rgb */ color: rgb(134, 26, 139);
/* oklch */ color: oklch(45.0% 0.188 326.1);
Tailwind
colors: {
  custom: {
    50: '#ad66ad',
    500: '#861a8b',
    950: '#000000',
  },
}
SCSS
$custom: #861a8b;
$custom-light: #ad66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#861a8b",
  "rgb": {
    "r": 134,
    "g": 26,
    "b": 139
  },
  "hsl": {
    "h": 297.345,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44995,
    "c": 0.18817,
    "h": 326.1
  },
  "luminance": 0.07671
}

Semantic roles & 50–950 ramp

primary
#861A8B
secondary
#49BD44
accent
#EB3C44
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #861A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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