#861B97#861B97

#861B97 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.9% C 0.197 H 321.6°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#861B97
RGBrgb(134, 27, 151)
HSLhsl(292, 70%, 35%)
HSVhsv(292, 82%, 59%)
CMYKcmyk(11.3%, 82.1%, 0%, 40.8%)
CIE-LABlab(34.16, 58.75, -43.65)
CIE-LCHlch(34.16, 73.19, 323.39°)
OKLaboklab(45.86% 0.1543 -0.1224)
OKLCHoklch(45.86% 0.197 321.6)
XYZxyz(15.8087, 8.0875, 30.0005)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861B97 #2C971B
analogous
#481B97 #861B97 #971B6A
triadic
#861B97 #97861B #1B9786
tetradic
#861B97 #97481B #2C971B #1B6A97
square
#861B97 #97481B #2C971B #1B6A97
split-complementary
#861B97 #6A971B #1B9748
monochromatic
#2A082F #581263 #861B97 #B424CB #CB4DDF

Accessibility & contrast

On white

8.02
#861B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#861B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861B97
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861B97#FFFFFF#000000##FFFFFF
##861B971.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#2D5494
Tritanopia (blue-blind)
#87365A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #861b97;
/* rgb */ color: rgb(134, 27, 151);
/* oklch */ color: oklch(45.9% 0.197 321.6);
Tailwind
colors: {
  custom: {
    50: '#ad66b6',
    500: '#861b97',
    950: '#000000',
  },
}
SCSS
$custom: #861b97;
$custom-light: #ad66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#861b97",
  "rgb": {
    "r": 134,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 291.774,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45861,
    "c": 0.19689,
    "h": 321.6
  },
  "luminance": 0.08087
}

Semantic roles & 50–950 ramp

primary
#861B97
secondary
#5CC14C
accent
#EC3B54
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #861B97

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

Preview Lab → · Contrast checker → · Palette generator →

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