#801A8B#801A8B

#801A8B is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.186 H 323.6°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#801A8B
RGBrgb(128, 26, 139)
HSLhsl(294, 68%, 32%)
HSVhsv(294, 81%, 55%)
CMYKcmyk(7.9%, 81.3%, 0%, 45.5%)
CIE-LABlab(32.24, 55.69, -39.42)
CIE-LCHlch(32.24, 68.22, 324.71°)
OKLaboklab(44.05% 0.1493 -0.1101)
OKLCHoklch(44.05% 0.186 323.6)
XYZxyz(13.9313, 7.1929, 25.0757)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801A8B #258B1A
analogous
#471A8B #801A8B #8B1A5E
triadic
#801A8B #8B801A #1A8B80
tetradic
#801A8B #8B471A #258B1A #1A5E8B
square
#801A8B #8B471A #258B1A #1A5E8B
split-complementary
#801A8B #5E8B1A #1A8B47
monochromatic
#210724 #511057 #801A8B #AF24BF #CD43DC

Accessibility & contrast

On white

8.61
#801A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#801A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801A8B
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801A8B#FFFFFF#000000##FFFFFF
##801A8B1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#305088
Tritanopia (blue-blind)
#823153
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #801a8b;
/* rgb */ color: rgb(128, 26, 139);
/* oklch */ color: oklch(44.1% 0.186 323.6);
Tailwind
colors: {
  custom: {
    50: '#a965ad',
    500: '#801a8b',
    950: '#000000',
  },
}
SCSS
$custom: #801a8b;
$custom-light: #a965ad;
$custom-dark: #000000;
JSON
{
  "hex": "#801a8b",
  "rgb": {
    "r": 128,
    "g": 26,
    "b": 139
  },
  "hsl": {
    "h": 294.159,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44052,
    "c": 0.18557,
    "h": 323.6
  },
  "luminance": 0.07192
}

Semantic roles & 50–950 ramp

primary
#801A8B
secondary
#50BD44
accent
#EB3C4D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #801A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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