#801BA8#801BA8

#801BA8 is a mid, highly saturated purple. Relative luminance 0.082; OKLCH L 46.2% C 0.209 H 313.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#801BA8
RGBrgb(128, 27, 168)
HSLhsl(283, 72%, 38%)
HSVhsv(283, 84%, 66%)
CMYKcmyk(23.8%, 83.9%, 0%, 34.1%)
CIE-LABlab(34.40, 60.90, -53.62)
CIE-LCHlch(34.40, 81.15, 318.64°)
OKLaboklab(46.22% 0.1436 -0.1518)
OKLCHoklch(46.22% 0.209 313.4)
XYZxyz(16.3606, 8.2008, 37.7593)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801BA8 #43A81B
analogous
#3A1BA8 #801BA8 #A81B89
triadic
#801BA8 #A8801B #1BA880
tetradic
#801BA8 #A83A1B #43A81B #1B89A8
square
#801BA8 #A83A1B #43A81B #1B89A8
split-complementary
#801BA8 #89A81B #1BA83A
monochromatic
#300A3F #581373 #801BA8 #A824DC #BD59E4

Accessibility & contrast

On white

7.95
#801BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #801BA8
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801BA8#FFFFFF#000000##FFFFFF
##801BA81.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#0053A5
Tritanopia (blue-blind)
#7C4064
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #801ba8;
/* rgb */ color: rgb(128, 27, 168);
/* oklch */ color: oklch(46.2% 0.209 313.4);
Tailwind
colors: {
  custom: {
    50: '#aa67c3',
    500: '#801ba8',
    950: '#000000',
  },
}
SCSS
$custom: #801ba8;
$custom-light: #aa67c3;
$custom-dark: #000000;
JSON
{
  "hex": "#801ba8",
  "rgb": {
    "r": 128,
    "g": 27,
    "b": 168
  },
  "hsl": {
    "h": 282.979,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46216,
    "c": 0.20897,
    "h": 313.4
  },
  "luminance": 0.082
}

Semantic roles & 50–950 ramp

primary
#801BA8
secondary
#77C857
accent
#EF396C
background
#FAF6FC
surface
#F5EBF8
border
#CFC6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #801BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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