#801B9F#801B9F

#801B9F is a mid, highly saturated purple. Relative luminance 0.079; OKLCH L 45.5% C 0.201 H 316.3°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#801B9F
RGBrgb(128, 27, 159)
HSLhsl(286, 71%, 36%)
HSVhsv(286, 83%, 62%)
CMYKcmyk(19.5%, 83%, 0%, 37.6%)
CIE-LABlab(33.73, 59.14, -49.28)
CIE-LCHlch(33.73, 76.98, 320.20°)
OKLaboklab(45.54% 0.1456 -0.1391)
OKLCHoklch(45.54% 0.201 316.3)
XYZxyz(15.5511, 7.8769, 33.4954)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801B9F #3A9F1B
analogous
#3E1B9F #801B9F #9F1B7C
triadic
#801B9F #9F801B #1B9F80
tetradic
#801B9F #9F3E1B #3A9F1B #1B7C9F
square
#801B9F #9F3E1B #3A9F1B #1B7C9F
split-complementary
#801B9F #7C9F1B #1B9F3E
monochromatic
#2C0936 #56126B #801B9F #AA24D3 #C053E2

Accessibility & contrast

On white

8.15
#801B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#801B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801B9F
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801B9F#FFFFFF#000000##FFFFFF
##801B9F1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#19529C
Tritanopia (blue-blind)
#7E3B5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #801b9f;
/* rgb */ color: rgb(128, 27, 159);
/* oklch */ color: oklch(45.5% 0.201 316.3);
Tailwind
colors: {
  custom: {
    50: '#a966bc',
    500: '#801b9f',
    950: '#000000',
  },
}
SCSS
$custom: #801b9f;
$custom-light: #a966bc;
$custom-dark: #000000;
JSON
{
  "hex": "#801b9f",
  "rgb": {
    "r": 128,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 285.909,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45535,
    "c": 0.20132,
    "h": 316.3
  },
  "luminance": 0.07876
}

Semantic roles & 50–950 ramp

primary
#801B9F
secondary
#6CC551
accent
#EE3A64
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #801B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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