#861E9C#861E9C

#861E9C is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.198 H 319.7°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#861E9C
RGBrgb(134, 30, 156)
HSLhsl(290, 68%, 36%)
HSVhsv(290, 81%, 61%)
CMYKcmyk(14.1%, 80.8%, 0%, 38.8%)
CIE-LABlab(34.80, 58.81, -45.68)
CIE-LCHlch(34.80, 74.46, 322.16°)
OKLaboklab(46.42% 0.1513 -0.1283)
OKLCHoklch(46.42% 0.198 319.7)
XYZxyz(16.2958, 8.3980, 32.2087)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861E9C #349C1E
analogous
#471E9C #861E9C #9C1E73
triadic
#861E9C #9C861E #1E9C86
tetradic
#861E9C #9C471E #349C1E #1E739C
square
#861E9C #9C471E #349C1E #1E739C
split-complementary
#861E9C #739C1E #1E9C47
monochromatic
#2E0A35 #5A1469 #861E9C #B228CF #C756DE

Accessibility & contrast

On white

7.84
#861E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#861E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861E9C
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861E9C#FFFFFF#000000##FFFFFF
##861E9C1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#2A5599
Tritanopia (blue-blind)
#863A5E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #861e9c;
/* rgb */ color: rgb(134, 30, 156);
/* oklch */ color: oklch(46.4% 0.198 319.7);
Tailwind
colors: {
  custom: {
    50: '#ad68ba',
    500: '#861e9c',
    950: '#000000',
  },
}
SCSS
$custom: #861e9c;
$custom-light: #ad68ba;
$custom-dark: #000000;
JSON
{
  "hex": "#861e9c",
  "rgb": {
    "r": 134,
    "g": 30,
    "b": 156
  },
  "hsl": {
    "h": 289.524,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46416,
    "c": 0.19837,
    "h": 319.7
  },
  "luminance": 0.08397
}

Semantic roles & 50–950 ramp

primary
#861E9C
secondary
#67C254
accent
#EB3D5B
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #861E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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