#801BAD#801BAD

#801BAD is a mid, highly saturated purple. Relative luminance 0.084; OKLCH L 46.6% C 0.213 H 311.9°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#801BAD
RGBrgb(128, 27, 173)
HSLhsl(282, 73%, 39%)
HSVhsv(282, 84%, 68%)
CMYKcmyk(26%, 84.4%, 0%, 32.2%)
CIE-LABlab(34.78, 61.91, -55.99)
CIE-LCHlch(34.78, 83.47, 317.87°)
OKLaboklab(46.61% 0.1423 -0.1588)
OKLCHoklch(46.61% 0.213 311.9)
XYZxyz(16.8354, 8.3907, 40.2598)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801BAD #48AD1B
analogous
#371BAD #801BAD #AD1B91
triadic
#801BAD #AD801B #1BAD80
tetradic
#801BAD #AD371B #48AD1B #1B91AD
square
#801BAD #AD371B #48AD1B #1B91AD
split-complementary
#801BAD #91AD1B #1BAD37
monochromatic
#320A43 #591378 #801BAD #A528DD #BB5DE6

Accessibility & contrast

On white

7.84
#801BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#801BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801BAD
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801BAD#FFFFFF#000000##FFFFFF
##801BAD1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB1
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#7A4267
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #801bad;
/* rgb */ color: rgb(128, 27, 173);
/* oklch */ color: oklch(46.6% 0.213 311.9);
Tailwind
colors: {
  custom: {
    50: '#aa67c6',
    500: '#801bad',
    950: '#000000',
  },
}
SCSS
$custom: #801bad;
$custom-light: #aa67c6;
$custom-dark: #000000;
JSON
{
  "hex": "#801bad",
  "rgb": {
    "r": 128,
    "g": 27,
    "b": 173
  },
  "hsl": {
    "h": 281.507,
    "s": 73,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46606,
    "c": 0.21325,
    "h": 311.9
  },
  "luminance": 0.0839
}

Semantic roles & 50–950 ramp

primary
#801BAD
secondary
#7DCA5A
accent
#F03871
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #801BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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