#861B8A#861B8A

#861B8A is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.186 H 326.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#861B8A
RGBrgb(134, 27, 138)
HSLhsl(298, 67%, 32%)
HSVhsv(298, 80%, 54%)
CMYKcmyk(2.9%, 80.4%, 0%, 45.9%)
CIE-LABlab(33.32, 56.45, -37.01)
CIE-LCHlch(33.32, 67.50, 326.75°)
OKLaboklab(45% 0.1555 -0.1029)
OKLCHoklch(45% 0.186 326.5)
XYZxyz(14.8106, 7.6882, 24.7437)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861B8A #1F8A1B
analogous
#4F1B8A #861B8A #8A1B56
triadic
#861B8A #8A861B #1B8A86
tetradic
#861B8A #8A4F1B #1F8A1B #1B568A
square
#861B8A #8A4F1B #1F8A1B #1B568A
split-complementary
#861B8A #568A1B #1B8A4F
monochromatic
#230724 #541157 #861B8A #B825BD #D545DB

Accessibility & contrast

On white

8.28
#861B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#861B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861B8A
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861B8A#FFFFFF#000000##FFFFFF
##861B8A1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#385387
Tritanopia (blue-blind)
#8A3053
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #861b8a;
/* rgb */ color: rgb(134, 27, 138);
/* oklch */ color: oklch(45.0% 0.186 326.5);
Tailwind
colors: {
  custom: {
    50: '#ad66ad',
    500: '#861b8a',
    950: '#000000',
  },
}
SCSS
$custom: #861b8a;
$custom-light: #ad66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#861b8a",
  "rgb": {
    "r": 134,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 297.838,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45,
    "c": 0.18649,
    "h": 326.5
  },
  "luminance": 0.07687
}

Semantic roles & 50–950 ramp

primary
#861B8A
secondary
#49BC45
accent
#EA3E44
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #861B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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