#801A7B#801A7B

#801A7B is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.173 H 330.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#801A7B
RGBrgb(128, 26, 123)
HSLhsl(303, 66%, 30%)
HSVhsv(303, 80%, 50%)
CMYKcmyk(0%, 79.7%, 3.9%, 49.8%)
CIE-LABlab(31.25, 52.93, -31.00)
CIE-LCHlch(31.25, 61.34, 329.64°)
OKLaboklab(43.03% 0.1502 -0.0856)
OKLCHoklch(43.03% 0.173 330.3)
XYZxyz(12.8466, 6.7591, 19.3631)
Luminance0.0676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801A7B #1A801F
analogous
#521A80 #801A7B #801A48
triadic
#801A7B #7B801A #1A7B80
tetradic
#801A7B #80521A #1A801F #1A4880
square
#801A7B #80521A #1A801F #1A4880
split-complementary
#801A7B #48801A #1A8052
monochromatic
#1A0519 #4D104A #801A7B #B324AC #D83DD0

Accessibility & contrast

On white

8.93
#801A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#801A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801A7B
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801A7B#FFFFFF#000000##FFFFFF
##801A7B1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A417E
Deuteranopia (green-blind)
#3B4E79
Tritanopia (blue-blind)
#85294A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #801a7b;
/* rgb */ color: rgb(128, 26, 123);
/* oklch */ color: oklch(43.0% 0.173 330.3);
Tailwind
colors: {
  custom: {
    50: '#a864a1',
    500: '#801a7b',
    950: '#000000',
  },
}
SCSS
$custom: #801a7b;
$custom-light: #a864a1;
$custom-dark: #000000;
JSON
{
  "hex": "#801a7b",
  "rgb": {
    "r": 128,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 302.941,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.4303,
    "c": 0.17287,
    "h": 330.3
  },
  "luminance": 0.06758
}

Semantic roles & 50–950 ramp

primary
#801A7B
secondary
#42B448
accent
#E9473F
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #801A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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