#801788#801788

#801788 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.186 H 324.9°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#801788
RGBrgb(128, 23, 136)
HSLhsl(296, 71%, 31%)
HSVhsv(296, 83%, 53%)
CMYKcmyk(5.9%, 83.1%, 0%, 46.7%)
CIE-LABlab(31.76, 55.98, -38.32)
CIE-LCHlch(31.76, 67.84, 325.61°)
OKLaboklab(43.65% 0.1519 -0.1069)
OKLCHoklch(43.65% 0.186 324.9)
XYZxyz(13.6521, 6.9805, 23.9161)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801788 #1F8817
analogous
#471788 #801788 #881757
triadic
#801788 #888017 #178880
tetradic
#801788 #884717 #1F8817 #175788
square
#801788 #884717 #1F8817 #175788
split-complementary
#801788 #578817 #178847
monochromatic
#1D051F #4F0E54 #801788 #B120BC #D23BDE

Accessibility & contrast

On white

8.76
#801788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#801788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801788
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801788#FFFFFF#000000##FFFFFF
##8017881.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#314F85
Tritanopia (blue-blind)
#832E51
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #801788;
/* rgb */ color: rgb(128, 23, 136);
/* oklch */ color: oklch(43.6% 0.186 324.9);
Tailwind
colors: {
  custom: {
    50: '#a963ab',
    500: '#801788',
    950: '#000000',
  },
}
SCSS
$custom: #801788;
$custom-light: #a963ab;
$custom-dark: #000000;
JSON
{
  "hex": "#801788",
  "rgb": {
    "r": 128,
    "g": 23,
    "b": 136
  },
  "hsl": {
    "h": 295.752,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4365,
    "c": 0.18577,
    "h": 324.9
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

primary
#801788
secondary
#48BC3F
accent
#EE3A47
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #801788

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

Preview Lab → · Contrast checker → · Palette generator →

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