#861C8C#861C8C

#861C8C is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.187 H 325.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#861C8C
RGBrgb(134, 28, 140)
HSLhsl(297, 67%, 33%)
HSVhsv(297, 80%, 55%)
CMYKcmyk(4.3%, 80%, 0%, 45.1%)
CIE-LABlab(33.55, 56.51, -37.88)
CIE-LCHlch(33.55, 68.03, 326.16°)
OKLaboklab(45.2% 0.1546 -0.1055)
OKLCHoklch(45.2% 0.187 325.7)
XYZxyz(14.9801, 7.7933, 25.5211)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861C8C #228C1C
analogous
#4E1C8C #861C8C #8C1C5A
triadic
#861C8C #8C861C #1C8C86
tetradic
#861C8C #8C4E1C #228C1C #1C5A8C
square
#861C8C #8C4E1C #228C1C #1C5A8C
split-complementary
#861C8C #5A8C1C #1C8C4E
monochromatic
#240826 #551259 #861C8C #B726BF #D348DA

Accessibility & contrast

On white

8.21
#861C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #861C8C
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861C8C#FFFFFF#000000##FFFFFF
##861C8C1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#375389
Tritanopia (blue-blind)
#893154
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #861c8c;
/* rgb */ color: rgb(134, 28, 140);
/* oklch */ color: oklch(45.2% 0.187 325.7);
Tailwind
colors: {
  custom: {
    50: '#ad66ae',
    500: '#861c8c',
    950: '#000000',
  },
}
SCSS
$custom: #861c8c;
$custom-light: #ad66ae;
$custom-dark: #000000;
JSON
{
  "hex": "#861c8c",
  "rgb": {
    "r": 134,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 296.786,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45198,
    "c": 0.18716,
    "h": 325.7
  },
  "luminance": 0.07792
}

Semantic roles & 50–950 ramp

primary
#861C8C
secondary
#4EBC48
accent
#EA3E47
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #861C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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