#861B9E#861B9E

#861B9E is a mid, highly saturated purple. Relative luminance 0.083; OKLCH L 46.4% C 0.203 H 319.1°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#861B9E
RGBrgb(134, 27, 158)
HSLhsl(289, 71%, 36%)
HSVhsv(289, 83%, 62%)
CMYKcmyk(15.2%, 82.9%, 0%, 38%)
CIE-LABlab(34.64, 60.03, -47.14)
CIE-LCHlch(34.64, 76.33, 321.86°)
OKLaboklab(46.35% 0.1532 -0.1326)
OKLCHoklch(46.35% 0.203 319.1)
XYZxyz(16.3942, 8.3217, 33.0838)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861B9E #339E1B
analogous
#451B9E #861B9E #9E1B75
triadic
#861B9E #9E861B #1B9E86
tetradic
#861B9E #9E451B #339E1B #1B759E
square
#861B9E #9E451B #339E1B #1B759E
split-complementary
#861B9E #759E1B #1B9E45
monochromatic
#2D0935 #5A126A #861B9E #B224D2 #C752E1

Accessibility & contrast

On white

7.88
#861B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#861B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861B9E
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861B9E#FFFFFF#000000##FFFFFF
##861B9E1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#26559B
Tritanopia (blue-blind)
#863A5E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #861b9e;
/* rgb */ color: rgb(134, 27, 158);
/* oklch */ color: oklch(46.4% 0.203 319.1);
Tailwind
colors: {
  custom: {
    50: '#ad67bb',
    500: '#861b9e',
    950: '#000000',
  },
}
SCSS
$custom: #861b9e;
$custom-light: #ad67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#861b9e",
  "rgb": {
    "r": 134,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 289.008,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46351,
    "c": 0.20261,
    "h": 319.1
  },
  "luminance": 0.08321
}

Semantic roles & 50–950 ramp

primary
#861B9E
secondary
#66C451
accent
#EE3A5B
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #861B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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