#801789#801789

#801789 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.7% C 0.187 H 324.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#801789
RGBrgb(128, 23, 137)
HSLhsl(295, 71%, 31%)
HSVhsv(295, 83%, 54%)
CMYKcmyk(6.6%, 83.2%, 0%, 46.3%)
CIE-LABlab(31.83, 56.16, -38.84)
CIE-LCHlch(31.83, 68.28, 325.33°)
OKLaboklab(43.72% 0.1518 -0.1084)
OKLCHoklch(43.72% 0.187 324.5)
XYZxyz(13.7235, 7.0090, 24.2921)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801789 #208917
analogous
#471789 #801789 #891759
triadic
#801789 #898017 #178980
tetradic
#801789 #894717 #208917 #175989
square
#801789 #894717 #208917 #175989
split-complementary
#801789 #598917 #178947
monochromatic
#1E0520 #4F0E55 #801789 #B120BD #D13CDE

Accessibility & contrast

On white

8.74
#801789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#801789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801789
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801789#FFFFFF#000000##FFFFFF
##8017891.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#304F86
Tritanopia (blue-blind)
#832F51
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #801789;
/* rgb */ color: rgb(128, 23, 137);
/* oklch */ color: oklch(43.7% 0.187 324.5);
Tailwind
colors: {
  custom: {
    50: '#a964ac',
    500: '#801789',
    950: '#000000',
  },
}
SCSS
$custom: #801789;
$custom-light: #a964ac;
$custom-dark: #000000;
JSON
{
  "hex": "#801789",
  "rgb": {
    "r": 128,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 295.263,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43717,
    "c": 0.18656,
    "h": 324.5
  },
  "luminance": 0.07008
}

Semantic roles & 50–950 ramp

primary
#801789
secondary
#49BD3F
accent
#EE3A48
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #801789

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

Preview Lab → · Contrast checker → · Palette generator →

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