#801BA1#801BA1

#801BA1 is a mid, highly saturated purple. Relative luminance 0.079; OKLCH L 45.7% C 0.203 H 315.6°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#801BA1
RGBrgb(128, 27, 161)
HSLhsl(285, 71%, 37%)
HSVhsv(285, 83%, 63%)
CMYKcmyk(20.5%, 83.2%, 0%, 36.9%)
CIE-LABlab(33.87, 59.53, -50.25)
CIE-LCHlch(33.87, 77.90, 319.83°)
OKLaboklab(45.68% 0.1452 -0.1419)
OKLCHoklch(45.68% 0.203 315.6)
XYZxyz(15.7260, 7.9469, 34.4168)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801BA1 #3CA11B
analogous
#3D1BA1 #801BA1 #A11B7F
triadic
#801BA1 #A1801B #1BA180
tetradic
#801BA1 #A13D1B #3CA11B #1B7FA1
square
#801BA1 #A13D1B #3CA11B #1B7FA1
split-complementary
#801BA1 #7FA11B #1BA13D
monochromatic
#2D0938 #56126D #801BA1 #AA24D5 #BF54E2

Accessibility & contrast

On white

8.11
#801BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#801BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801BA1
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801BA1#FFFFFF#000000##FFFFFF
##801BA11.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA4
Deuteranopia (green-blind)
#15529E
Tritanopia (blue-blind)
#7D3C60
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #801ba1;
/* rgb */ color: rgb(128, 27, 161);
/* oklch */ color: oklch(45.7% 0.203 315.6);
Tailwind
colors: {
  custom: {
    50: '#a966be',
    500: '#801ba1',
    950: '#000000',
  },
}
SCSS
$custom: #801ba1;
$custom-light: #a966be;
$custom-dark: #000000;
JSON
{
  "hex": "#801ba1",
  "rgb": {
    "r": 128,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 285.224,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45684,
    "c": 0.20301,
    "h": 315.6
  },
  "luminance": 0.07946
}

Semantic roles & 50–950 ramp

primary
#801BA1
secondary
#6FC552
accent
#EE3A66
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #801BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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