#861C8B#861C8B

#861C8B is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.186 H 326.1°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#861C8B
RGBrgb(134, 28, 139)
HSLhsl(297, 66%, 33%)
HSVhsv(297, 80%, 55%)
CMYKcmyk(3.6%, 79.9%, 0%, 45.5%)
CIE-LABlab(33.49, 56.34, -37.37)
CIE-LCHlch(33.49, 67.60, 326.45°)
OKLaboklab(45.13% 0.1546 -0.104)
OKLCHoklch(45.13% 0.186 326.1)
XYZxyz(14.9067, 7.7640, 25.1345)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861C8B #218B1C
analogous
#4E1C8B #861C8B #8B1C59
triadic
#861C8B #8B861C #1C8B86
tetradic
#861C8B #8B4E1C #218B1C #1C598B
square
#861C8B #8B4E1C #218B1C #1C598B
split-complementary
#861C8B #598B1C #1C8B4E
monochromatic
#240725 #551258 #861C8B #B726BE #D347DA

Accessibility & contrast

On white

8.23
#861C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#861C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861C8B
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861C8B#FFFFFF#000000##FFFFFF
##861C8B1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#375388
Tritanopia (blue-blind)
#8A3154
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #861c8b;
/* rgb */ color: rgb(134, 28, 139);
/* oklch */ color: oklch(45.1% 0.186 326.1);
Tailwind
colors: {
  custom: {
    50: '#ad66ad',
    500: '#861c8b',
    950: '#000000',
  },
}
SCSS
$custom: #861c8b;
$custom-light: #ad66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#861c8b",
  "rgb": {
    "r": 134,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 297.297,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45134,
    "c": 0.18636,
    "h": 326.1
  },
  "luminance": 0.07763
}

Semantic roles & 50–950 ramp

primary
#861C8B
secondary
#4CBC47
accent
#E93E46
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #861C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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