#801D9B#801D9B

#801D9B is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.4% C 0.196 H 317.6°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#801D9B
RGBrgb(128, 29, 155)
HSLhsl(287, 68%, 36%)
HSVhsv(287, 81%, 61%)
CMYKcmyk(17.4%, 81.3%, 0%, 39.2%)
CIE-LABlab(33.64, 57.78, -46.99)
CIE-LCHlch(33.64, 74.48, 320.88°)
OKLaboklab(45.38% 0.1448 -0.1324)
OKLCHoklch(45.38% 0.196 317.6)
XYZxyz(15.2570, 7.8352, 31.7127)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801D9B #389B1D
analogous
#411D9B #801D9B #9B1D77
triadic
#801D9B #9B801D #1D9B80
tetradic
#801D9B #9B411D #389B1D #1D779B
square
#801D9B #9B411D #389B1D #1D779B
split-complementary
#801D9B #779B1D #1D9B41
monochromatic
#2B0A34 #551367 #801D9B #AB27CF #C153DF

Accessibility & contrast

On white

8.18
#801D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#801D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801D9B
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801D9B#FFFFFF#000000##FFFFFF
##801D9B1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#215298
Tritanopia (blue-blind)
#7F3A5D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #801d9b;
/* rgb */ color: rgb(128, 29, 155);
/* oklch */ color: oklch(45.4% 0.196 317.6);
Tailwind
colors: {
  custom: {
    50: '#a966b9',
    500: '#801d9b',
    950: '#000000',
  },
}
SCSS
$custom: #801d9b;
$custom-light: #a966b9;
$custom-dark: #000000;
JSON
{
  "hex": "#801d9b",
  "rgb": {
    "r": 128,
    "g": 29,
    "b": 155
  },
  "hsl": {
    "h": 287.143,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45382,
    "c": 0.19619,
    "h": 317.6
  },
  "luminance": 0.07834
}

Semantic roles & 50–950 ramp

primary
#801D9B
secondary
#6AC252
accent
#EB3C62
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #801D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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