#801987#801987

#801987 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.7% C 0.183 H 325.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#801987
RGBrgb(128, 25, 135)
HSLhsl(296, 69%, 31%)
HSVhsv(296, 81%, 53%)
CMYKcmyk(5.2%, 81.5%, 0%, 47.1%)
CIE-LABlab(31.89, 55.26, -37.50)
CIE-LCHlch(31.89, 66.79, 325.84°)
OKLaboklab(43.72% 0.1505 -0.1046)
OKLCHoklch(43.72% 0.183 325.2)
XYZxyz(13.6226, 7.0346, 23.5573)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801987 #208719
analogous
#491987 #801987 #871957
triadic
#801987 #878019 #198780
tetradic
#801987 #874919 #208719 #195787
square
#801987 #874919 #208719 #195787
split-complementary
#801987 #578719 #198749
monochromatic
#1E0620 #4F0F53 #801987 #B123BB #D13FDB

Accessibility & contrast

On white

8.73
#801987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#801987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801987
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801987#FFFFFF#000000##FFFFFF
##8019871.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #801987;
/* rgb */ color: rgb(128, 25, 135);
/* oklch */ color: oklch(43.7% 0.183 325.2);
Tailwind
colors: {
  custom: {
    50: '#a964aa',
    500: '#801987',
    950: '#000000',
  },
}
SCSS
$custom: #801987;
$custom-light: #a964aa;
$custom-dark: #000000;
JSON
{
  "hex": "#801987",
  "rgb": {
    "r": 128,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 296.182,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43717,
    "c": 0.18324,
    "h": 325.2
  },
  "luminance": 0.07034
}

Semantic roles & 50–950 ramp

primary
#801987
secondary
#49BA41
accent
#EC3C47
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #801987

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

Preview Lab → · Contrast checker → · Palette generator →

#801987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva