#801BA7#801BA7

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

Color values

HEX#801BA7
RGBrgb(128, 27, 167)
HSLhsl(283, 72%, 38%)
HSVhsv(283, 84%, 65%)
CMYKcmyk(23.4%, 83.8%, 0%, 34.5%)
CIE-LABlab(34.32, 60.71, -53.14)
CIE-LCHlch(34.32, 80.68, 318.80°)
OKLaboklab(46.14% 0.1438 -0.1504)
OKLCHoklch(46.14% 0.208 313.7)
XYZxyz(16.2678, 8.1636, 37.2705)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801BA7 #42A71B
analogous
#3A1BA7 #801BA7 #A71B88
triadic
#801BA7 #A7801B #1BA780
tetradic
#801BA7 #A73A1B #42A71B #1B88A7
square
#801BA7 #A73A1B #42A71B #1B88A7
split-complementary
#801BA7 #88A71B #1BA73A
monochromatic
#2F0A3E #581272 #801BA7 #A824DC #BD58E4

Accessibility & contrast

On white

7.98
#801BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#801BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801BA7
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801BA7#FFFFFF#000000##FFFFFF
##801BA71.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAB
Deuteranopia (green-blind)
#0253A4
Tritanopia (blue-blind)
#7C3F63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #801ba7;
/* rgb */ color: rgb(128, 27, 167);
/* oklch */ color: oklch(46.1% 0.208 313.7);
Tailwind
colors: {
  custom: {
    50: '#aa66c2',
    500: '#801ba7',
    950: '#000000',
  },
}
SCSS
$custom: #801ba7;
$custom-light: #aa66c2;
$custom-dark: #000000;
JSON
{
  "hex": "#801ba7",
  "rgb": {
    "r": 128,
    "g": 27,
    "b": 167
  },
  "hsl": {
    "h": 283.286,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46139,
    "c": 0.20811,
    "h": 313.7
  },
  "luminance": 0.08163
}

Semantic roles & 50–950 ramp

primary
#801BA7
secondary
#76C856
accent
#EF396C
background
#FAF6FC
surface
#F5EBF8
border
#CFC6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #801BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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