#861F8A#861F8A

#861F8A is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.183 H 326.4°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#861F8A
RGBrgb(134, 31, 138)
HSLhsl(298, 63%, 33%)
HSVhsv(298, 78%, 54%)
CMYKcmyk(2.9%, 77.5%, 0%, 45.9%)
CIE-LABlab(33.74, 55.25, -36.34)
CIE-LCHlch(33.74, 66.13, 326.67°)
OKLaboklab(45.3% 0.1522 -0.101)
OKLCHoklch(45.3% 0.183 326.4)
XYZxyz(14.9087, 7.8843, 24.7764)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861F8A #238A1F
analogous
#501F8A #861F8A #8A1F58
triadic
#861F8A #8A861F #1F8A86
tetradic
#861F8A #8A501F #238A1F #1F588A
square
#861F8A #8A501F #238A1F #1F588A
split-complementary
#861F8A #588A1F #1F8A50
monochromatic
#250926 #551458 #861F8A #B72ABC #D24CD7

Accessibility & contrast

On white

8.15
#861F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#861F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861F8A
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861F8A#FFFFFF#000000##FFFFFF
##861F8A1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#395487
Tritanopia (blue-blind)
#8A3254
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #861f8a;
/* rgb */ color: rgb(134, 31, 138);
/* oklch */ color: oklch(45.3% 0.183 326.4);
Tailwind
colors: {
  custom: {
    50: '#ad67ad',
    500: '#861f8a',
    950: '#000000',
  },
}
SCSS
$custom: #861f8a;
$custom-light: #ad67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#861f8a",
  "rgb": {
    "r": 134,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 297.757,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45295,
    "c": 0.18264,
    "h": 326.4
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#861F8A
secondary
#4FBA4B
accent
#E64148
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #861F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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