#804A99#804A99

#804A99 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 50.6% C 0.133 H 314.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#804A99
RGBrgb(128, 74, 153)
HSLhsl(281, 35%, 45%)
HSVhsv(281, 52%, 60%)
CMYKcmyk(16.3%, 51.6%, 0%, 40%)
CIE-LABlab(40.88, 37.11, -34.22)
CIE-LCHlch(40.88, 50.48, 317.32°)
OKLaboklab(50.58% 0.0925 -0.0953)
OKLCHoklch(50.58% 0.133 314.1)
XYZxyz(17.0997, 11.7871, 31.5052)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804A99 #63994A
analogous
#594A99 #804A99 #994A8B
triadic
#804A99 #99804A #4A9980
tetradic
#804A99 #99594A #63994A #4A8B99
square
#804A99 #99594A #63994A #4A8B99
split-complementary
#804A99 #8B994A #4A9959
monochromatic
#3B2247 #5D3670 #804A99 #9E6AB7 #B993CB

Accessibility & contrast

On white

6.25
#804A99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#804A99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804A99
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804A99#FFFFFF#000000##FFFFFF
##804A991.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385D9C
Deuteranopia (green-blind)
#486297
Tritanopia (blue-blind)
#7E566A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #804a99;
/* rgb */ color: rgb(128, 74, 153);
/* oklch */ color: oklch(50.6% 0.133 314.1);
Tailwind
colors: {
  custom: {
    50: '#a77eb7',
    500: '#804a99',
    950: '#000000',
  },
}
SCSS
$custom: #804a99;
$custom-light: #a77eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#804a99",
  "rgb": {
    "r": 128,
    "g": 74,
    "b": 153
  },
  "hsl": {
    "h": 281.013,
    "s": 34.802,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50575,
    "c": 0.13282,
    "h": 314.1
  },
  "luminance": 0.11787
}

Semantic roles & 50–950 ramp

primary
#804A99
secondary
#97B788
accent
#CB5D80
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #804A99

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

Preview Lab → · Contrast checker → · Palette generator →

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