#801D87#801D87

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

Color values

HEX#801D87
RGBrgb(128, 29, 135)
HSLhsl(296, 65%, 32%)
HSVhsv(296, 79%, 53%)
CMYKcmyk(5.2%, 78.5%, 0%, 47.1%)
CIE-LABlab(32.30, 54.07, -36.84)
CIE-LCHlch(32.30, 65.43, 325.73°)
OKLaboklab(44.01% 0.1472 -0.1027)
OKLCHoklch(44.01% 0.179 325.1)
XYZxyz(13.7143, 7.2181, 23.5879)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801D87 #24871D
analogous
#4B1D87 #801D87 #871D59
triadic
#801D87 #87801D #1D8780
tetradic
#801D87 #874B1D #24871D #1D5987
square
#801D87 #874B1D #24871D #1D5987
split-complementary
#801D87 #59871D #1D874B
monochromatic
#200722 #501255 #801D87 #B028B9 #CE47D7

Accessibility & contrast

On white

8.59
#801D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#801D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801D87
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801D87#FFFFFF#000000##FFFFFF
##801D871.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #801d87;
/* rgb */ color: rgb(128, 29, 135);
/* oklch */ color: oklch(44.0% 0.179 325.1);
Tailwind
colors: {
  custom: {
    50: '#a866aa',
    500: '#801d87',
    950: '#000000',
  },
}
SCSS
$custom: #801d87;
$custom-light: #a866aa;
$custom-dark: #000000;
JSON
{
  "hex": "#801d87",
  "rgb": {
    "r": 128,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 296.038,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44009,
    "c": 0.17945,
    "h": 325.1
  },
  "luminance": 0.07217
}

Semantic roles & 50–950 ramp

primary
#801D87
secondary
#4EB946
accent
#E8404B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #801D87

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

Preview Lab → · Contrast checker → · Palette generator →

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