#801BA6#801BA6

#801BA6 is a mid, highly saturated purple. Relative luminance 0.081; OKLCH L 46.1% C 0.207 H 314.0°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#801BA6
RGBrgb(128, 27, 166)
HSLhsl(284, 72%, 38%)
HSVhsv(284, 84%, 65%)
CMYKcmyk(22.9%, 83.7%, 0%, 34.9%)
CIE-LABlab(34.25, 60.51, -52.66)
CIE-LCHlch(34.25, 80.22, 318.96°)
OKLaboklab(46.06% 0.1441 -0.149)
OKLCHoklch(46.06% 0.207 314)
XYZxyz(16.1758, 8.1268, 36.7855)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801BA6 #41A61B
analogous
#3A1BA6 #801BA6 #A61B86
triadic
#801BA6 #A6801B #1BA680
tetradic
#801BA6 #A63A1B #41A61B #1B86A6
square
#801BA6 #A63A1B #41A61B #1B86A6
split-complementary
#801BA6 #86A61B #1BA63A
monochromatic
#2F0A3D #571271 #801BA6 #A924DB #BD58E4

Accessibility & contrast

On white

8.00
#801BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #801BA6
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801BA6#FFFFFF#000000##FFFFFF
##801BA61.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAA
Deuteranopia (green-blind)
#0653A3
Tritanopia (blue-blind)
#7C3F63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #801ba6;
/* rgb */ color: rgb(128, 27, 166);
/* oklch */ color: oklch(46.1% 0.207 314.0);
Tailwind
colors: {
  custom: {
    50: '#aa66c1',
    500: '#801ba6',
    950: '#000000',
  },
}
SCSS
$custom: #801ba6;
$custom-light: #aa66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#801ba6",
  "rgb": {
    "r": 128,
    "g": 27,
    "b": 166
  },
  "hsl": {
    "h": 283.597,
    "s": 72.021,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46062,
    "c": 0.20726,
    "h": 314
  },
  "luminance": 0.08126
}

Semantic roles & 50–950 ramp

primary
#801BA6
secondary
#75C756
accent
#EF396B
background
#FAF6FC
surface
#F5EBF8
border
#CFC6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #801BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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