#861A8E#861A8E

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

Color values

HEX#861A8E
RGBrgb(134, 26, 142)
HSLhsl(296, 69%, 33%)
HSVhsv(296, 82%, 56%)
CMYKcmyk(5.6%, 81.7%, 0%, 44.3%)
CIE-LABlab(33.48, 57.42, -39.23)
CIE-LCHlch(33.48, 69.54, 325.66°)
OKLaboklab(45.19% 0.156 -0.1094)
OKLCHoklch(45.19% 0.191 325)
XYZxyz(15.0830, 7.7611, 26.2896)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861A8E #228E1A
analogous
#4C1A8E #861A8E #8E1A5C
triadic
#861A8E #8E861A #1A8E86
tetradic
#861A8E #8E4C1A #228E1A #1A5C8E
square
#861A8E #8E4C1A #228E1A #1A5C8E
split-complementary
#861A8E #5C8E1A #1A8E4C
monochromatic
#240727 #55115A #861A8E #B723C2 #D345DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##861A8E#FFFFFF#000000##FFFFFF
##861A8E1.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)
#004791
Deuteranopia (green-blind)
#34538B
Tritanopia (blue-blind)
#893155
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #861a8e;
/* rgb */ color: rgb(134, 26, 142);
/* oklch */ color: oklch(45.2% 0.191 325.0);
Tailwind
colors: {
  custom: {
    50: '#ad66b0',
    500: '#861a8e',
    950: '#000000',
  },
}
SCSS
$custom: #861a8e;
$custom-light: #ad66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#861a8e",
  "rgb": {
    "r": 134,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 295.862,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4519,
    "c": 0.19053,
    "h": 325
  },
  "luminance": 0.0776
}

Semantic roles & 50–950 ramp

primary
#861A8E
secondary
#4EBE45
accent
#EC3C48
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110610
muted
#807A7F

Preview Lab

Preview with #861A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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