#801F87#801F87

#801F87 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.177 H 325.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#801F87
RGBrgb(128, 31, 135)
HSLhsl(296, 63%, 33%)
HSVhsv(296, 77%, 53%)
CMYKcmyk(5.2%, 77%, 0%, 47.1%)
CIE-LABlab(32.52, 53.42, -36.49)
CIE-LCHlch(32.52, 64.69, 325.67°)
OKLaboklab(44.17% 0.1454 -0.1016)
OKLCHoklch(44.17% 0.177 325)
XYZxyz(13.7649, 7.3193, 23.6047)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801F87 #26871F
analogous
#4C1F87 #801F87 #871F5A
triadic
#801F87 #87801F #1F8780
tetradic
#801F87 #874C1F #26871F #1F5A87
square
#801F87 #874C1F #26871F #1F5A87
split-complementary
#801F87 #5A871F #1F874C
monochromatic
#220823 #511455 #801F87 #AF2AB9 #CC4BD6

Accessibility & contrast

On white

8.52
#801F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#801F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801F87
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801F87#FFFFFF#000000##FFFFFF
##801F871.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#355085
Tritanopia (blue-blind)
#833252
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #801f87;
/* rgb */ color: rgb(128, 31, 135);
/* oklch */ color: oklch(44.2% 0.177 325.0);
Tailwind
colors: {
  custom: {
    50: '#a866aa',
    500: '#801f87',
    950: '#000000',
  },
}
SCSS
$custom: #801f87;
$custom-light: #a866aa;
$custom-dark: #000000;
JSON
{
  "hex": "#801f87",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 295.962,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44169,
    "c": 0.1774,
    "h": 325
  },
  "luminance": 0.07318
}

Semantic roles & 50–950 ramp

primary
#801F87
secondary
#51B84A
accent
#E6424D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #801F87

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

Preview Lab → · Contrast checker → · Palette generator →

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