#801EA4#801EA4

#801EA4 is a mid, highly saturated purple. Relative luminance 0.082; OKLCH L 46.1% C 0.203 H 314.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#801EA4
RGBrgb(128, 30, 164)
HSLhsl(284, 69%, 38%)
HSVhsv(284, 82%, 64%)
CMYKcmyk(22%, 81.7%, 0%, 35.7%)
CIE-LABlab(34.39, 59.24, -51.22)
CIE-LCHlch(34.39, 78.32, 319.15°)
OKLaboklab(46.12% 0.1424 -0.1448)
OKLCHoklch(46.12% 0.203 314.5)
XYZxyz(16.0661, 8.1987, 35.8510)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801EA4 #42A41E
analogous
#3D1EA4 #801EA4 #A41E85
triadic
#801EA4 #A4801E #1EA480
tetradic
#801EA4 #A43D1E #42A41E #1E85A4
square
#801EA4 #A43D1E #42A41E #1E85A4
split-complementary
#801EA4 #85A41E #1EA43D
monochromatic
#2F0B3D #581570 #801EA4 #A828D8 #BD5BE1

Accessibility & contrast

On white

7.96
#801EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#801EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801EA4
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801EA4#FFFFFF#000000##FFFFFF
##801EA41.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA8
Deuteranopia (green-blind)
#1253A1
Tritanopia (blue-blind)
#7D3F62
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #801ea4;
/* rgb */ color: rgb(128, 30, 164);
/* oklch */ color: oklch(46.1% 0.203 314.5);
Tailwind
colors: {
  custom: {
    50: '#a967c0',
    500: '#801ea4',
    950: '#000000',
  },
}
SCSS
$custom: #801ea4;
$custom-light: #a967c0;
$custom-dark: #000000;
JSON
{
  "hex": "#801ea4",
  "rgb": {
    "r": 128,
    "g": 30,
    "b": 164
  },
  "hsl": {
    "h": 283.881,
    "s": 69.072,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46119,
    "c": 0.20305,
    "h": 314.5
  },
  "luminance": 0.08198
}

Semantic roles & 50–950 ramp

primary
#801EA4
secondary
#76C559
accent
#EC3C6B
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #801EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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