#861B8D#861B8D

#861B8D is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.189 H 325.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#861B8D
RGBrgb(134, 27, 141)
HSLhsl(296, 68%, 33%)
HSVhsv(296, 81%, 55%)
CMYKcmyk(5%, 80.9%, 0%, 44.7%)
CIE-LABlab(33.51, 56.97, -38.56)
CIE-LCHlch(33.51, 68.79, 325.91°)
OKLaboklab(45.19% 0.1553 -0.1075)
OKLCHoklch(45.19% 0.189 325.3)
XYZxyz(15.0308, 7.7763, 25.9034)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861B8D #228D1B
analogous
#4D1B8D #861B8D #8D1B5B
triadic
#861B8D #8D861B #1B8D86
tetradic
#861B8D #8D4D1B #228D1B #1B5B8D
square
#861B8D #8D4D1B #228D1B #1B5B8D
split-complementary
#861B8D #5B8D1B #1B8D4D
monochromatic
#240726 #55115A #861B8D #B725C0 #D347DC

Accessibility & contrast

On white

8.22
#861B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#861B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861B8D
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861B8D#FFFFFF#000000##FFFFFF
##861B8D1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#36538A
Tritanopia (blue-blind)
#893154
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #861b8d;
/* rgb */ color: rgb(134, 27, 141);
/* oklch */ color: oklch(45.2% 0.189 325.3);
Tailwind
colors: {
  custom: {
    50: '#ad66af',
    500: '#861b8d',
    950: '#000000',
  },
}
SCSS
$custom: #861b8d;
$custom-light: #ad66af;
$custom-dark: #000000;
JSON
{
  "hex": "#861b8d",
  "rgb": {
    "r": 134,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 296.316,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45193,
    "c": 0.18887,
    "h": 325.3
  },
  "luminance": 0.07775
}

Semantic roles & 50–950 ramp

primary
#861B8D
secondary
#4EBD46
accent
#EB3D48
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #861B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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