#801687#801687

#801687 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.186 H 325.3°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#801687
RGBrgb(128, 22, 135)
HSLhsl(296, 72%, 31%)
HSVhsv(296, 84%, 53%)
CMYKcmyk(5.2%, 83.7%, 0%, 47.1%)
CIE-LABlab(31.61, 56.07, -37.95)
CIE-LCHlch(31.61, 67.70, 325.91°)
OKLaboklab(43.52% 0.1527 -0.1058)
OKLCHoklch(43.52% 0.186 325.3)
XYZxyz(13.5619, 6.9132, 23.5370)
Luminance0.0691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801687 #1D8716
analogous
#471687 #801687 #871655
triadic
#801687 #878016 #168780
tetradic
#801687 #874716 #1D8716 #165587
square
#801687 #874716 #1D8716 #165587
split-complementary
#801687 #558716 #168747
monochromatic
#1C051E #4E0D52 #801687 #B21FBC #D439DF

Accessibility & contrast

On white

8.81
#801687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#801687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801687
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801687#FFFFFF#000000##FFFFFF
##8016871.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#314F84
Tritanopia (blue-blind)
#832D50
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #801687;
/* rgb */ color: rgb(128, 22, 135);
/* oklch */ color: oklch(43.5% 0.186 325.3);
Tailwind
colors: {
  custom: {
    50: '#a963aa',
    500: '#801687',
    950: '#000000',
  },
}
SCSS
$custom: #801687;
$custom-light: #a963aa;
$custom-dark: #000000;
JSON
{
  "hex": "#801687",
  "rgb": {
    "r": 128,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 296.283,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4352,
    "c": 0.1858,
    "h": 325.3
  },
  "luminance": 0.06912
}

Semantic roles & 50–950 ramp

primary
#801687
secondary
#45BB3E
accent
#EF3944
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #801687

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

Preview Lab → · Contrast checker → · Palette generator →

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