#861F87#861F87

#861F87 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.180 H 327.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#861F87
RGBrgb(134, 31, 135)
HSLhsl(299, 63%, 33%)
HSVhsv(299, 77%, 53%)
CMYKcmyk(0.7%, 77%, 0%, 47.1%)
CIE-LABlab(33.56, 54.73, -34.77)
CIE-LCHlch(33.56, 64.85, 327.57°)
OKLaboklab(45.11% 0.1523 -0.0965)
OKLCHoklch(45.11% 0.18 327.6)
XYZxyz(14.6945, 7.7986, 23.6483)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861F87 #20871F
analogous
#521F87 #861F87 #871F54
triadic
#861F87 #87861F #1F8786
tetradic
#861F87 #87521F #20871F #1F5487
square
#861F87 #87521F #20871F #1F5487
split-complementary
#861F87 #54871F #1F8752
monochromatic
#230823 #551455 #861F87 #B72AB9 #D44BD6

Accessibility & contrast

On white

8.20
#861F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#861F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861F87
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861F87#FFFFFF#000000##FFFFFF
##861F871.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04468A
Deuteranopia (green-blind)
#3B5384
Tritanopia (blue-blind)
#8A3052
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #861f87;
/* rgb */ color: rgb(134, 31, 135);
/* oklch */ color: oklch(45.1% 0.180 327.6);
Tailwind
colors: {
  custom: {
    50: '#ad67aa',
    500: '#861f87',
    950: '#000000',
  },
}
SCSS
$custom: #861f87;
$custom-light: #ad67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#861f87",
  "rgb": {
    "r": 134,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 299.423,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45108,
    "c": 0.18024,
    "h": 327.6
  },
  "luminance": 0.07798
}

Semantic roles & 50–950 ramp

primary
#861F87
secondary
#4BB84A
accent
#E64244
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #861F87

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

Preview Lab → · Contrast checker → · Palette generator →

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