#801988#801988

#801988 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.184 H 324.8°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#801988
RGBrgb(128, 25, 136)
HSLhsl(296, 69%, 32%)
HSVhsv(296, 82%, 53%)
CMYKcmyk(5.9%, 81.6%, 0%, 46.7%)
CIE-LABlab(31.95, 55.44, -38.02)
CIE-LCHlch(31.95, 67.22, 325.55°)
OKLaboklab(43.78% 0.1504 -0.1061)
OKLCHoklch(43.78% 0.184 324.8)
XYZxyz(13.6933, 7.0629, 23.9298)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801988 #218819
analogous
#491988 #801988 #881959
triadic
#801988 #888019 #198880
tetradic
#801988 #884919 #218819 #195988
square
#801988 #884919 #218819 #195988
split-complementary
#801988 #598819 #198849
monochromatic
#1F0621 #4F0F54 #801988 #B123BC #D140DC

Accessibility & contrast

On white

8.71
#801988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#801988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801988
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801988#FFFFFF#000000##FFFFFF
##8019881.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#324F85
Tritanopia (blue-blind)
#832F51
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #801988;
/* rgb */ color: rgb(128, 25, 136);
/* oklch */ color: oklch(43.8% 0.184 324.8);
Tailwind
colors: {
  custom: {
    50: '#a964ab',
    500: '#801988',
    950: '#000000',
  },
}
SCSS
$custom: #801988;
$custom-light: #a964ab;
$custom-dark: #000000;
JSON
{
  "hex": "#801988",
  "rgb": {
    "r": 128,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 295.676,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43782,
    "c": 0.18405,
    "h": 324.8
  },
  "luminance": 0.07062
}

Semantic roles & 50–950 ramp

primary
#801988
secondary
#4ABB41
accent
#EC3C49
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #801988

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

Preview Lab → · Contrast checker → · Palette generator →

#801988 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva