#861FA6#861FA6

#861FA6 is a mid, highly saturated purple. Relative luminance 0.088; OKLCH L 47.2% C 0.206 H 316.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#861FA6
RGBrgb(134, 31, 166)
HSLhsl(286, 69%, 39%)
HSVhsv(286, 81%, 65%)
CMYKcmyk(19.3%, 81.3%, 0%, 34.9%)
CIE-LABlab(35.60, 60.42, -50.42)
CIE-LCHlch(35.60, 78.69, 320.15°)
OKLaboklab(47.2% 0.1489 -0.1423)
OKLCHoklch(47.2% 0.206 316.3)
XYZxyz(17.2034, 8.8022, 36.8618)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861FA6 #3FA61F
analogous
#421FA6 #861FA6 #A61F82
triadic
#861FA6 #A6861F #1FA686
tetradic
#861FA6 #A6421F #3FA61F #1F82A6
square
#861FA6 #A6421F #3FA61F #1F82A6
split-complementary
#861FA6 #82A61F #1FA642
monochromatic
#330C3F #5C1572 #861FA6 #AE2BD7 #C25EE1

Accessibility & contrast

On white

7.61
#861FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#861FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861FA6
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861FA6#FFFFFF#000000##FFFFFF
##861FA61.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAA
Deuteranopia (green-blind)
#1D56A3
Tritanopia (blue-blind)
#843F64
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #861fa6;
/* rgb */ color: rgb(134, 31, 166);
/* oklch */ color: oklch(47.2% 0.206 316.3);
Tailwind
colors: {
  custom: {
    50: '#ae69c1',
    500: '#861fa6',
    950: '#000000',
  },
}
SCSS
$custom: #861fa6;
$custom-light: #ae69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#861fa6",
  "rgb": {
    "r": 134,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 285.778,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47202,
    "c": 0.20591,
    "h": 316.3
  },
  "luminance": 0.08801
}

Semantic roles & 50–950 ramp

primary
#861FA6
secondary
#74C55B
accent
#EB3C66
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #861FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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