#861C8E#861C8E

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

Color values

HEX#861C8E
RGBrgb(134, 28, 142)
HSLhsl(296, 67%, 33%)
HSVhsv(296, 80%, 56%)
CMYKcmyk(5.6%, 80.3%, 0%, 44.3%)
CIE-LABlab(33.67, 56.86, -38.92)
CIE-LCHlch(33.67, 68.90, 325.61°)
OKLaboklab(45.33% 0.1544 -0.1085)
OKLCHoklch(45.33% 0.189 324.9)
XYZxyz(15.1289, 7.8528, 26.3048)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861C8E #248E1C
analogous
#4D1C8E #861C8E #8E1C5D
triadic
#861C8E #8E861C #1C8E86
tetradic
#861C8E #8E4D1C #248E1C #1C5D8E
square
#861C8E #8E4D1C #248E1C #1C5D8E
split-complementary
#861C8E #5D8E1C #1C8E4D
monochromatic
#260828 #56125B #861C8E #B626C1 #D149DB

Accessibility & contrast

On white

8.17
#861C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#861C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861C8E
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861C8E#FFFFFF#000000##FFFFFF
##861C8E1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.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: #861c8e;
/* rgb */ color: rgb(134, 28, 142);
/* oklch */ color: oklch(45.3% 0.189 324.9);
Tailwind
colors: {
  custom: {
    50: '#ad66b0',
    500: '#861c8e',
    950: '#000000',
  },
}
SCSS
$custom: #861c8e;
$custom-light: #ad66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#861c8e",
  "rgb": {
    "r": 134,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 295.789,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45328,
    "c": 0.18875,
    "h": 324.9
  },
  "luminance": 0.07852
}

Semantic roles & 50–950 ramp

primary
#861C8E
secondary
#51BD49
accent
#EA3E4A
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #861C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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