#861A8D#861A8D

#861A8D is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.190 H 325.3°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#861A8D
RGBrgb(134, 26, 141)
HSLhsl(296, 69%, 33%)
HSVhsv(296, 82%, 55%)
CMYKcmyk(5%, 81.6%, 0%, 44.7%)
CIE-LABlab(33.42, 57.25, -38.71)
CIE-LCHlch(33.42, 69.11, 325.93°)
OKLaboklab(45.13% 0.1561 -0.1079)
OKLCHoklch(45.13% 0.19 325.3)
XYZxyz(15.0083, 7.7312, 25.8959)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861A8D #218D1A
analogous
#4D1A8D #861A8D #8D1A5A
triadic
#861A8D #8D861A #1A8D86
tetradic
#861A8D #8D4D1A #218D1A #1A5A8D
square
#861A8D #8D4D1A #218D1A #1A5A8D
split-complementary
#861A8D #5A8D1A #1A8D4D
monochromatic
#240726 #551059 #861A8D #B724C1 #D345DD

Accessibility & contrast

On white

8.25
#861A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #861A8D
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861A8D#FFFFFF#000000##FFFFFF
##861A8D1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#35538A
Tritanopia (blue-blind)
#893154
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #861a8d;
/* rgb */ color: rgb(134, 26, 141);
/* oklch */ color: oklch(45.1% 0.190 325.3);
Tailwind
colors: {
  custom: {
    50: '#ad66af',
    500: '#861a8d',
    950: '#000000',
  },
}
SCSS
$custom: #861a8d;
$custom-light: #ad66af;
$custom-dark: #000000;
JSON
{
  "hex": "#861a8d",
  "rgb": {
    "r": 134,
    "g": 26,
    "b": 141
  },
  "hsl": {
    "h": 296.348,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45125,
    "c": 0.18975,
    "h": 325.3
  },
  "luminance": 0.0773
}

Semantic roles & 50–950 ramp

primary
#861A8D
secondary
#4CBE45
accent
#EC3C47
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #861A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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