#861B8B#861B8B

#861B8B is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.187 H 326.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#861B8B
RGBrgb(134, 27, 139)
HSLhsl(297, 67%, 33%)
HSVhsv(297, 81%, 55%)
CMYKcmyk(3.6%, 80.6%, 0%, 45.5%)
CIE-LABlab(33.39, 56.62, -37.52)
CIE-LCHlch(33.39, 67.93, 326.47°)
OKLaboklab(45.06% 0.1554 -0.1045)
OKLCHoklch(45.06% 0.187 326.1)
XYZxyz(14.8834, 7.7173, 25.1268)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861B8B #208B1B
analogous
#4E1B8B #861B8B #8B1B58
triadic
#861B8B #8B861B #1B8B86
tetradic
#861B8B #8B4E1B #208B1B #1B588B
square
#861B8B #8B4E1B #208B1B #1B588B
split-complementary
#861B8B #588B1B #1B8B4E
monochromatic
#230725 #551158 #861B8B #B725BE #D445DB

Accessibility & contrast

On white

8.26
#861B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #861B8B
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861B8B#FFFFFF#000000##FFFFFF
##861B8B1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #861b8b;
/* rgb */ color: rgb(134, 27, 139);
/* oklch */ color: oklch(45.1% 0.187 326.1);
Tailwind
colors: {
  custom: {
    50: '#ad66ad',
    500: '#861b8b',
    950: '#000000',
  },
}
SCSS
$custom: #861b8b;
$custom-light: #ad66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#861b8b",
  "rgb": {
    "r": 134,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 297.321,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45064,
    "c": 0.18728,
    "h": 326.1
  },
  "luminance": 0.07716
}

Semantic roles & 50–950 ramp

primary
#861B8B
secondary
#4BBC45
accent
#EA3D45
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #861B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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