#801EA8#801EA8

#801EA8 is a mid, highly saturated purple. Relative luminance 0.083; OKLCH L 46.4% C 0.207 H 313.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#801EA8
RGBrgb(128, 30, 168)
HSLhsl(283, 70%, 39%)
HSVhsv(283, 82%, 66%)
CMYKcmyk(23.8%, 82.1%, 0%, 34.1%)
CIE-LABlab(34.69, 60.05, -53.14)
CIE-LCHlch(34.69, 80.18, 318.49°)
OKLaboklab(46.42% 0.1415 -0.1504)
OKLCHoklch(46.42% 0.207 313.2)
XYZxyz(16.4330, 8.3454, 37.7834)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801EA8 #46A81E
analogous
#3B1EA8 #801EA8 #A81E8B
triadic
#801EA8 #A8801E #1EA880
tetradic
#801EA8 #A83B1E #46A81E #1E8BA8
square
#801EA8 #A83B1E #46A81E #1E8BA8
split-complementary
#801EA8 #8BA81E #1EA83B
monochromatic
#310B40 #581574 #801EA8 #A62AD9 #BC5EE2

Accessibility & contrast

On white

7.87
#801EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#801EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801EA8
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801EA8#FFFFFF#000000##FFFFFF
##801EA81.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#0454A5
Tritanopia (blue-blind)
#7C4165
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #801ea8;
/* rgb */ color: rgb(128, 30, 168);
/* oklch */ color: oklch(46.4% 0.207 313.2);
Tailwind
colors: {
  custom: {
    50: '#aa68c3',
    500: '#801ea8',
    950: '#000000',
  },
}
SCSS
$custom: #801ea8;
$custom-light: #aa68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#801ea8",
  "rgb": {
    "r": 128,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 282.609,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46422,
    "c": 0.20652,
    "h": 313.2
  },
  "luminance": 0.08345
}

Semantic roles & 50–950 ramp

primary
#801EA8
secondary
#7AC75B
accent
#ED3B6F
background
#FAF6FC
surface
#F5EBF8
border
#CFC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #801EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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