#861D8F#861D8F

#861D8F is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.5% C 0.189 H 324.5°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#861D8F
RGBrgb(134, 29, 143)
HSLhsl(295, 66%, 34%)
HSVhsv(295, 80%, 56%)
CMYKcmyk(6.3%, 79.7%, 0%, 43.9%)
CIE-LABlab(33.84, 56.74, -39.27)
CIE-LCHlch(33.84, 69.01, 325.31°)
OKLaboklab(45.47% 0.1536 -0.1096)
OKLCHoklch(45.47% 0.189 324.5)
XYZxyz(15.2284, 7.9312, 26.7101)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861D8F #268F1D
analogous
#4D1D8F #861D8F #8F1D5F
triadic
#861D8F #8F861D #1D8F86
tetradic
#861D8F #8F4D1D #268F1D #1D5F8F
square
#861D8F #8F4D1D #268F1D #1D5F8F
split-complementary
#861D8F #5F8F1D #1D8F4D
monochromatic
#270829 #56135C #861D8F #B627C2 #CF4CDB

Accessibility & contrast

On white

8.12
#861D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#861D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861D8F
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861D8F#FFFFFF#000000##FFFFFF
##861D8F1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#35548C
Tritanopia (blue-blind)
#893356
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #861d8f;
/* rgb */ color: rgb(134, 29, 143);
/* oklch */ color: oklch(45.5% 0.189 324.5);
Tailwind
colors: {
  custom: {
    50: '#ad67b0',
    500: '#861d8f',
    950: '#000000',
  },
}
SCSS
$custom: #861d8f;
$custom-light: #ad67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#861d8f",
  "rgb": {
    "r": 134,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 295.263,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45465,
    "c": 0.18863,
    "h": 324.5
  },
  "luminance": 0.0793
}

Semantic roles & 50–950 ramp

primary
#861D8F
secondary
#54BD4B
accent
#E93F4C
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #861D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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