#801C87#801C87

#801C87 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.180 H 325.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#801C87
RGBrgb(128, 28, 135)
HSLhsl(296, 66%, 32%)
HSVhsv(296, 79%, 53%)
CMYKcmyk(5.2%, 79.3%, 0%, 47.1%)
CIE-LABlab(32.19, 54.38, -37.02)
CIE-LCHlch(32.19, 65.78, 325.76°)
OKLaboklab(43.93% 0.148 -0.1032)
OKLCHoklch(43.93% 0.18 325.1)
XYZxyz(13.6902, 7.1699, 23.5798)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801C87 #23871C
analogous
#4B1C87 #801C87 #871C59
triadic
#801C87 #87801C #1C8780
tetradic
#801C87 #874B1C #23871C #1C5987
square
#801C87 #874B1C #23871C #1C5987
split-complementary
#801C87 #59871C #1C874B
monochromatic
#200722 #501154 #801C87 #B027BA #CF45D8

Accessibility & contrast

On white

8.63
#801C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#801C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801C87
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801C87#FFFFFF#000000##FFFFFF
##801C871.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#345085
Tritanopia (blue-blind)
#833051
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #801c87;
/* rgb */ color: rgb(128, 28, 135);
/* oklch */ color: oklch(43.9% 0.180 325.1);
Tailwind
colors: {
  custom: {
    50: '#a865aa',
    500: '#801c87',
    950: '#000000',
  },
}
SCSS
$custom: #801c87;
$custom-light: #a865aa;
$custom-dark: #000000;
JSON
{
  "hex": "#801c87",
  "rgb": {
    "r": 128,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 296.075,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43933,
    "c": 0.18044,
    "h": 325.1
  },
  "luminance": 0.07169
}

Semantic roles & 50–950 ramp

primary
#801C87
secondary
#4DBA45
accent
#E93F4A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #801C87

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

Preview Lab → · Contrast checker → · Palette generator →

#801C87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva