#801786#801786

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

Color values

HEX#801786
RGBrgb(128, 23, 134)
HSLhsl(297, 71%, 31%)
HSVhsv(297, 83%, 53%)
CMYKcmyk(4.5%, 82.8%, 0%, 47.5%)
CIE-LABlab(31.63, 55.63, -37.28)
CIE-LCHlch(31.63, 66.97, 326.17°)
OKLaboklab(43.52% 0.1521 -0.1039)
OKLCHoklch(43.52% 0.184 325.7)
XYZxyz(13.5113, 6.9242, 23.1745)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801786 #1D8617
analogous
#481786 #801786 #861754
triadic
#801786 #868017 #178680
tetradic
#801786 #864817 #1D8617 #175486
square
#801786 #864817 #1D8617 #175486
split-complementary
#801786 #548617 #178648
monochromatic
#1C051E #4E0E52 #801786 #B220BA #D43ADD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##801786#FFFFFF#000000##FFFFFF
##8017861.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)
#004289
Deuteranopia (green-blind)
#324F83
Tritanopia (blue-blind)
#832D50
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #801786;
/* rgb */ color: rgb(128, 23, 134);
/* oklch */ color: oklch(43.5% 0.184 325.7);
Tailwind
colors: {
  custom: {
    50: '#a963aa',
    500: '#801786',
    950: '#000000',
  },
}
SCSS
$custom: #801786;
$custom-light: #a963aa;
$custom-dark: #000000;
JSON
{
  "hex": "#801786",
  "rgb": {
    "r": 128,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 296.757,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43518,
    "c": 0.18419,
    "h": 325.7
  },
  "luminance": 0.06923
}

Semantic roles & 50–950 ramp

primary
#801786
secondary
#45BA3F
accent
#ED3A44
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #801786

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

Preview Lab → · Contrast checker → · Palette generator →

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