#861BB4#861BB4

#861BB4 is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 48.0% C 0.221 H 312.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#861BB4
RGBrgb(134, 27, 180)
HSLhsl(282, 74%, 41%)
HSVhsv(282, 85%, 71%)
CMYKcmyk(25.6%, 85%, 0%, 29.4%)
CIE-LABlab(36.27, 64.27, -57.71)
CIE-LCHlch(36.27, 86.37, 318.08°)
OKLaboklab(48% 0.1485 -0.1636)
OKLCHoklch(48% 0.221 312.2)
XYZxyz(18.4601, 9.1480, 43.9645)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861BB4 #49B41B
analogous
#3A1BB4 #861BB4 #B41B95
triadic
#861BB4 #B4861B #1BB486
tetradic
#861BB4 #B43A1B #49B41B #1B95B4
square
#861BB4 #B43A1B #49B41B #1B95B4
split-complementary
#861BB4 #95B41B #1BB43A
monochromatic
#370B4A #5E137F #861BB4 #AA2DDF #BF62E7

Accessibility & contrast

On white

7.42
#861BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#861BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861BB4
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861BB4#FFFFFF#000000##FFFFFF
##861BB41.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #861bb4;
/* rgb */ color: rgb(134, 27, 180);
/* oklch */ color: oklch(48.0% 0.221 312.2);
Tailwind
colors: {
  custom: {
    50: '#af68cb',
    500: '#861bb4',
    950: '#000000',
  },
}
SCSS
$custom: #861bb4;
$custom-light: #af68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#861bb4",
  "rgb": {
    "r": 134,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 281.961,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47996,
    "c": 0.22093,
    "h": 312.2
  },
  "luminance": 0.09147
}

Semantic roles & 50–950 ramp

primary
#861BB4
secondary
#80CC5F
accent
#F1376F
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #861BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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