#801B87#801B87

#801B87 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.9% C 0.181 H 325.2°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#801B87
RGBrgb(128, 27, 135)
HSLhsl(296, 67%, 32%)
HSVhsv(296, 80%, 53%)
CMYKcmyk(5.2%, 80%, 0%, 47.1%)
CIE-LABlab(32.09, 54.68, -37.18)
CIE-LCHlch(32.09, 66.13, 325.78°)
OKLaboklab(43.86% 0.1489 -0.1036)
OKLCHoklch(43.86% 0.181 325.2)
XYZxyz(13.6669, 7.1232, 23.5721)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801B87 #22871B
analogous
#4A1B87 #801B87 #871B58
triadic
#801B87 #87801B #1B8780
tetradic
#801B87 #874A1B #22871B #1B5887
square
#801B87 #874A1B #22871B #1B5887
split-complementary
#801B87 #58871B #1B874A
monochromatic
#1F0721 #501154 #801B87 #B025BA #D043D9

Accessibility & contrast

On white

8.66
#801B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#801B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801B87
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801B87#FFFFFF#000000##FFFFFF
##801B871.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #801b87;
/* rgb */ color: rgb(128, 27, 135);
/* oklch */ color: oklch(43.9% 0.181 325.2);
Tailwind
colors: {
  custom: {
    50: '#a865aa',
    500: '#801b87',
    950: '#000000',
  },
}
SCSS
$custom: #801b87;
$custom-light: #a865aa;
$custom-dark: #000000;
JSON
{
  "hex": "#801b87",
  "rgb": {
    "r": 128,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 296.111,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43858,
    "c": 0.1814,
    "h": 325.2
  },
  "luminance": 0.07122
}

Semantic roles & 50–950 ramp

primary
#801B87
secondary
#4BBA44
accent
#EA3E49
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #801B87

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

Preview Lab → · Contrast checker → · Palette generator →

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