#804B99#804B99

#804B99 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 50.7% C 0.131 H 314.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#804B99
RGBrgb(128, 75, 153)
HSLhsl(281, 34%, 45%)
HSVhsv(281, 51%, 60%)
CMYKcmyk(16.3%, 51%, 0%, 40%)
CIE-LABlab(41.09, 36.55, -33.88)
CIE-LCHlch(41.09, 49.84, 317.17°)
OKLaboklab(50.74% 0.091 -0.0944)
OKLCHoklch(50.74% 0.131 314)
XYZxyz(17.1670, 11.9217, 31.5276)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804B99 #64994B
analogous
#594B99 #804B99 #994B8B
triadic
#804B99 #99804B #4B9980
tetradic
#804B99 #99594B #64994B #4B8B99
square
#804B99 #99594B #64994B #4B8B99
split-complementary
#804B99 #8B994B #4B9959
monochromatic
#3B2347 #5E3770 #804B99 #9E6BB6 #B994CB

Accessibility & contrast

On white

6.21
#804B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#804B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804B99
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804B99#FFFFFF#000000##FFFFFF
##804B991.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5E9C
Deuteranopia (green-blind)
#496297
Tritanopia (blue-blind)
#7E576B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #804b99;
/* rgb */ color: rgb(128, 75, 153);
/* oklch */ color: oklch(50.7% 0.131 314.0);
Tailwind
colors: {
  custom: {
    50: '#a77fb7',
    500: '#804b99',
    950: '#000000',
  },
}
SCSS
$custom: #804b99;
$custom-light: #a77fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#804b99",
  "rgb": {
    "r": 128,
    "g": 75,
    "b": 153
  },
  "hsl": {
    "h": 280.769,
    "s": 34.211,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50735,
    "c": 0.1311,
    "h": 314
  },
  "luminance": 0.11921
}

Semantic roles & 50–950 ramp

primary
#804B99
secondary
#98B789
accent
#CA5E80
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #804B99

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

Preview Lab → · Contrast checker → · Palette generator →

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