#861AB4#861AB4

#861AB4 is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 47.9% C 0.222 H 312.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#861AB4
RGBrgb(134, 26, 180)
HSLhsl(282, 75%, 40%)
HSVhsv(282, 86%, 71%)
CMYKcmyk(25.6%, 85.6%, 0%, 29.4%)
CIE-LABlab(36.18, 64.52, -57.85)
CIE-LCHlch(36.18, 86.65, 318.12°)
OKLaboklab(47.94% 0.149 -0.164)
OKLCHoklch(47.94% 0.222 312.3)
XYZxyz(18.4376, 9.1030, 43.9570)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861AB4 #48B41A
analogous
#391AB4 #861AB4 #B41A95
triadic
#861AB4 #B4861A #1AB486
tetradic
#861AB4 #B4391A #48B41A #1A95B4
square
#861AB4 #B4391A #48B41A #1A95B4
split-complementary
#861AB4 #95B41A #1AB439
monochromatic
#360B49 #5E127F #861AB4 #AA2BE0 #C060E8

Accessibility & contrast

On white

7.45
#861AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#861AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861AB4
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861AB4#FFFFFF#000000##FFFFFF
##861AB41.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#0057B1
Tritanopia (blue-blind)
#80446B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #861ab4;
/* rgb */ color: rgb(134, 26, 180);
/* oklch */ color: oklch(47.9% 0.222 312.3);
Tailwind
colors: {
  custom: {
    50: '#af68cb',
    500: '#861ab4',
    950: '#000000',
  },
}
SCSS
$custom: #861ab4;
$custom-light: #af68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#861ab4",
  "rgb": {
    "r": 134,
    "g": 26,
    "b": 180
  },
  "hsl": {
    "h": 282.078,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47936,
    "c": 0.22163,
    "h": 312.3
  },
  "luminance": 0.09102
}

Semantic roles & 50–950 ramp

primary
#861AB4
secondary
#7FCC5D
accent
#F1366E
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #861AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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