#861B7D#861B7D

#861B7D is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.176 H 332.0°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#861B7D
RGBrgb(134, 27, 125)
HSLhsl(305, 66%, 32%)
HSVhsv(305, 80%, 53%)
CMYKcmyk(0%, 79.9%, 6.7%, 47.5%)
CIE-LABlab(32.56, 54.30, -30.13)
CIE-LCHlch(32.56, 62.09, 330.98°)
OKLaboklab(44.2% 0.1558 -0.083)
OKLCHoklch(44.2% 0.176 332)
XYZxyz(13.9252, 7.3340, 20.0803)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861B7D #1B8624
analogous
#5A1B86 #861B7D #861B48
triadic
#861B7D #7D861B #1B7D86
tetradic
#861B7D #865A1B #1B8624 #1B4886
square
#861B7D #865A1B #1B8624 #1B4886
split-complementary
#861B7D #48861B #1B865A
monochromatic
#20061E #53114D #861B7D #B925AD #D942CC

Accessibility & contrast

On white

8.51
#861B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#861B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861B7D
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861B7D#FFFFFF#000000##FFFFFF
##861B7D1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124380
Deuteranopia (green-blind)
#3F527B
Tritanopia (blue-blind)
#8C294B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #861b7d;
/* rgb */ color: rgb(134, 27, 125);
/* oklch */ color: oklch(44.2% 0.176 332.0);
Tailwind
colors: {
  custom: {
    50: '#ad65a3',
    500: '#861b7d',
    950: '#000000',
  },
}
SCSS
$custom: #861b7d;
$custom-light: #ad65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#861b7d",
  "rgb": {
    "r": 134,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 305.047,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44204,
    "c": 0.17648,
    "h": 332
  },
  "luminance": 0.07333
}

Semantic roles & 50–950 ramp

primary
#861B7D
secondary
#44B94D
accent
#E94D3E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #861B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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