#804E99#804E99

#804E99 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 51.2% C 0.126 H 313.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#804E99
RGBrgb(128, 78, 153)
HSLhsl(280, 32%, 45%)
HSVhsv(280, 49%, 60%)
CMYKcmyk(16.3%, 49%, 0%, 40%)
CIE-LABlab(41.75, 34.85, -32.84)
CIE-LCHlch(41.75, 47.89, 316.70°)
OKLaboklab(51.22% 0.0866 -0.0914)
OKLCHoklch(51.22% 0.126 313.5)
XYZxyz(17.3753, 12.3383, 31.5970)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804E99 #67994E
analogous
#5A4E99 #804E99 #994E8C
triadic
#804E99 #99804E #4E9980
tetradic
#804E99 #995A4E #67994E #4E8C99
square
#804E99 #995A4E #67994E #4E8C99
split-complementary
#804E99 #8C994E #4E995A
monochromatic
#3C2548 #5E3970 #804E99 #9E6FB5 #B997CA

Accessibility & contrast

On white

6.06
#804E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#804E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804E99
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804E99#FFFFFF#000000##FFFFFF
##804E991.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E609C
Deuteranopia (green-blind)
#4C6497
Tritanopia (blue-blind)
#7E596C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #804e99;
/* rgb */ color: rgb(128, 78, 153);
/* oklch */ color: oklch(51.2% 0.126 313.5);
Tailwind
colors: {
  custom: {
    50: '#a681b7',
    500: '#804e99',
    950: '#000000',
  },
}
SCSS
$custom: #804e99;
$custom-light: #a681b7;
$custom-dark: #000000;
JSON
{
  "hex": "#804e99",
  "rgb": {
    "r": 128,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 280,
    "s": 32.468,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51223,
    "c": 0.1259,
    "h": 313.5
  },
  "luminance": 0.12338
}

Semantic roles & 50–950 ramp

primary
#804E99
secondary
#9AB78C
accent
#C95F82
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #804E99

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

Preview Lab → · Contrast checker → · Palette generator →

#804E99 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva