#804D99#804D99

#804D99 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.1% C 0.128 H 313.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#804D99
RGBrgb(128, 77, 153)
HSLhsl(280, 33%, 45%)
HSVhsv(280, 50%, 60%)
CMYKcmyk(16.3%, 49.7%, 0%, 40%)
CIE-LABlab(41.53, 35.42, -33.19)
CIE-LCHlch(41.53, 48.54, 316.86°)
OKLaboklab(51.06% 0.0881 -0.0924)
OKLCHoklch(51.06% 0.128 313.6)
XYZxyz(17.3048, 12.1973, 31.5735)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804D99 #66994D
analogous
#5A4D99 #804D99 #994D8C
triadic
#804D99 #99804D #4D9980
tetradic
#804D99 #995A4D #66994D #4D8C99
square
#804D99 #995A4D #66994D #4D8C99
split-complementary
#804D99 #8C994D #4D995A
monochromatic
#3C2448 #5E3970 #804D99 #9E6DB6 #B996CA

Accessibility & contrast

On white

6.11
#804D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#804D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804D99
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804D99#FFFFFF#000000##FFFFFF
##804D991.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #804d99;
/* rgb */ color: rgb(128, 77, 153);
/* oklch */ color: oklch(51.1% 0.128 313.6);
Tailwind
colors: {
  custom: {
    50: '#a680b7',
    500: '#804d99',
    950: '#000000',
  },
}
SCSS
$custom: #804d99;
$custom-light: #a680b7;
$custom-dark: #000000;
JSON
{
  "hex": "#804d99",
  "rgb": {
    "r": 128,
    "g": 77,
    "b": 153
  },
  "hsl": {
    "h": 280.263,
    "s": 33.043,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51059,
    "c": 0.12764,
    "h": 313.6
  },
  "luminance": 0.12197
}

Semantic roles & 50–950 ramp

primary
#804D99
secondary
#99B78B
accent
#C95F82
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #804D99

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

Preview Lab → · Contrast checker → · Palette generator →

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