#861B8E#861B8E

#861B8E is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.190 H 324.9°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#861B8E
RGBrgb(134, 27, 142)
HSLhsl(296, 68%, 33%)
HSVhsv(296, 81%, 56%)
CMYKcmyk(5.6%, 81%, 0%, 44.3%)
CIE-LABlab(33.58, 57.14, -39.07)
CIE-LCHlch(33.58, 69.23, 325.64°)
OKLaboklab(45.26% 0.1552 -0.109)
OKLCHoklch(45.26% 0.19 324.9)
XYZxyz(15.1056, 7.8062, 26.2971)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861B8E #238E1B
analogous
#4C1B8E #861B8E #8E1B5C
triadic
#861B8E #8E861B #1B8E86
tetradic
#861B8E #8E4C1B #238E1B #1B5C8E
square
#861B8E #8E4C1B #238E1B #1B5C8E
split-complementary
#861B8E #5C8E1B #1B8E4C
monochromatic
#250727 #55115B #861B8E #B725C1 #D247DC

Accessibility & contrast

On white

8.20
#861B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#861B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861B8E
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861B8E#FFFFFF#000000##FFFFFF
##861B8E1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#35538B
Tritanopia (blue-blind)
#893255
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #861b8e;
/* rgb */ color: rgb(134, 27, 142);
/* oklch */ color: oklch(45.3% 0.190 324.9);
Tailwind
colors: {
  custom: {
    50: '#ad66b0',
    500: '#861b8e',
    950: '#000000',
  },
}
SCSS
$custom: #861b8e;
$custom-light: #ad66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#861b8e",
  "rgb": {
    "r": 134,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 295.826,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45258,
    "c": 0.18966,
    "h": 324.9
  },
  "luminance": 0.07805
}

Semantic roles & 50–950 ramp

primary
#861B8E
secondary
#4FBE47
accent
#EB3D49
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #861B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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