#861CB4#861CB4

#861CB4 is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 48.1% C 0.220 H 312.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#861CB4
RGBrgb(134, 28, 180)
HSLhsl(282, 73%, 41%)
HSVhsv(282, 84%, 71%)
CMYKcmyk(25.6%, 84.4%, 0%, 29.4%)
CIE-LABlab(36.36, 64.01, -57.56)
CIE-LCHlch(36.36, 86.08, 318.03°)
OKLaboklab(48.06% 0.1478 -0.1632)
OKLCHoklch(48.06% 0.22 312.2)
XYZxyz(18.4835, 9.1947, 43.9723)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861CB4 #4AB41C
analogous
#3A1CB4 #861CB4 #B41C96
triadic
#861CB4 #B4861C #1CB486
tetradic
#861CB4 #B43A1C #4AB41C #1C96B4
square
#861CB4 #B43A1C #4AB41C #1C96B4
split-complementary
#861CB4 #96B41C #1CB43A
monochromatic
#370C4A #5F147F #861CB4 #A92FDF #BF64E7

Accessibility & contrast

On white

7.40
#861CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#861CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861CB4
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861CB4#FFFFFF#000000##FFFFFF
##861CB41.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #861cb4;
/* rgb */ color: rgb(134, 28, 180);
/* oklch */ color: oklch(48.1% 0.220 312.2);
Tailwind
colors: {
  custom: {
    50: '#af68cb',
    500: '#861cb4',
    950: '#000000',
  },
}
SCSS
$custom: #861cb4;
$custom-light: #af68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#861cb4",
  "rgb": {
    "r": 134,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 281.842,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48058,
    "c": 0.2202,
    "h": 312.2
  },
  "luminance": 0.09194
}

Semantic roles & 50–950 ramp

primary
#861CB4
secondary
#81CC60
accent
#F03870
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #861CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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