#861FA1#861FA1

#861FA1 is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 46.8% C 0.202 H 317.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#861FA1
RGBrgb(134, 31, 161)
HSLhsl(288, 68%, 38%)
HSVhsv(288, 81%, 63%)
CMYKcmyk(16.8%, 80.7%, 0%, 36.9%)
CIE-LABlab(35.25, 59.45, -47.98)
CIE-LCHlch(35.25, 76.40, 321.09°)
OKLaboklab(46.84% 0.1497 -0.1351)
OKLCHoklch(46.84% 0.202 317.9)
XYZxyz(16.7536, 8.6223, 34.4931)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861FA1 #3AA11F
analogous
#451FA1 #861FA1 #A11F7B
triadic
#861FA1 #A1861F #1FA186
tetradic
#861FA1 #A1451F #3AA11F #1F7BA1
square
#861FA1 #A1451F #3AA11F #1F7BA1
split-complementary
#861FA1 #7BA11F #1FA145
monochromatic
#310B3A #5B156E #861FA1 #B129D4 #C45BDF

Accessibility & contrast

On white

7.71
#861FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#861FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861FA1
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861FA1#FFFFFF#000000##FFFFFF
##861FA11.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#25569E
Tritanopia (blue-blind)
#853D61
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #861fa1;
/* rgb */ color: rgb(134, 31, 161);
/* oklch */ color: oklch(46.8% 0.202 317.9);
Tailwind
colors: {
  custom: {
    50: '#ad68bd',
    500: '#861fa1',
    950: '#000000',
  },
}
SCSS
$custom: #861fa1;
$custom-light: #ad68bd;
$custom-dark: #000000;
JSON
{
  "hex": "#861fa1",
  "rgb": {
    "r": 134,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 287.538,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46841,
    "c": 0.20167,
    "h": 317.9
  },
  "luminance": 0.08622
}

Semantic roles & 50–950 ramp

primary
#861FA1
secondary
#6FC458
accent
#EB3D61
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #861FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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