#861B7B#861B7B

#861B7B is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.175 H 332.9°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#861B7B
RGBrgb(134, 27, 123)
HSLhsl(306, 66%, 32%)
HSVhsv(306, 80%, 53%)
CMYKcmyk(0%, 79.9%, 8.2%, 47.5%)
CIE-LABlab(32.44, 53.98, -29.05)
CIE-LCHlch(32.44, 61.30, 331.72°)
OKLaboklab(44.09% 0.1557 -0.0798)
OKLCHoklch(44.09% 0.175 332.9)
XYZxyz(13.7987, 7.2834, 19.4142)
Luminance0.0728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861B7B #1B8626
analogous
#5C1B86 #861B7B #861B46
triadic
#861B7B #7B861B #1B7B86
tetradic
#861B7B #865C1B #1B8626 #1B4686
square
#861B7B #865C1B #1B8626 #1B4686
split-complementary
#861B7B #46861B #1B865C
monochromatic
#20061D #53114C #861B7B #B925AA #D942CA

Accessibility & contrast

On white

8.55
#861B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#861B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861B7B
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861B7B#FFFFFF#000000##FFFFFF
##861B7B1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15437E
Deuteranopia (green-blind)
#405279
Tritanopia (blue-blind)
#8C274A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #861b7b;
/* rgb */ color: rgb(134, 27, 123);
/* oklch */ color: oklch(44.1% 0.175 332.9);
Tailwind
colors: {
  custom: {
    50: '#ad65a1',
    500: '#861b7b',
    950: '#000000',
  },
}
SCSS
$custom: #861b7b;
$custom-light: #ad65a1;
$custom-dark: #000000;
JSON
{
  "hex": "#861b7b",
  "rgb": {
    "r": 134,
    "g": 27,
    "b": 123
  },
  "hsl": {
    "h": 306.168,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44088,
    "c": 0.17499,
    "h": 332.9
  },
  "luminance": 0.07282
}

Semantic roles & 50–950 ramp

primary
#861B7B
secondary
#44B950
accent
#E9503E
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11060F
muted
#807A7F

Preview Lab

Preview with #861B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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