#801A87#801A87

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

Color values

HEX#801A87
RGBrgb(128, 26, 135)
HSLhsl(296, 68%, 32%)
HSVhsv(296, 81%, 53%)
CMYKcmyk(5.2%, 80.7%, 0%, 47.1%)
CIE-LABlab(31.98, 54.97, -37.35)
CIE-LCHlch(31.98, 66.46, 325.81°)
OKLaboklab(43.79% 0.1497 -0.1041)
OKLCHoklch(43.79% 0.182 325.2)
XYZxyz(13.6443, 7.0782, 23.5645)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801A87 #21871A
analogous
#4A1A87 #801A87 #871A58
triadic
#801A87 #87801A #1A8780
tetradic
#801A87 #874A1A #21871A #1A5887
square
#801A87 #874A1A #21871A #1A5887
split-complementary
#801A87 #58871A #1A874A
monochromatic
#1F0620 #4F1054 #801A87 #B124BA #D141DA

Accessibility & contrast

On white

8.69
#801A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #801A87
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801A87#FFFFFF#000000##FFFFFF
##801A871.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#334F84
Tritanopia (blue-blind)
#832F51
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #801a87;
/* rgb */ color: rgb(128, 26, 135);
/* oklch */ color: oklch(43.8% 0.182 325.2);
Tailwind
colors: {
  custom: {
    50: '#a964aa',
    500: '#801a87',
    950: '#000000',
  },
}
SCSS
$custom: #801a87;
$custom-light: #a964aa;
$custom-dark: #000000;
JSON
{
  "hex": "#801a87",
  "rgb": {
    "r": 128,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 296.147,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43786,
    "c": 0.18233,
    "h": 325.2
  },
  "luminance": 0.07077
}

Semantic roles & 50–950 ramp

primary
#801A87
secondary
#4ABA42
accent
#EB3D48
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #801A87

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

Preview Lab → · Contrast checker → · Palette generator →

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