#804399#804399

#804399 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 49.5% C 0.145 H 315.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#804399
RGBrgb(128, 67, 153)
HSLhsl(283, 39%, 43%)
HSVhsv(283, 56%, 60%)
CMYKcmyk(16.3%, 56.2%, 0%, 40%)
CIE-LABlab(39.42, 40.94, -36.53)
CIE-LCHlch(39.42, 54.87, 318.26°)
OKLaboklab(49.5% 0.1024 -0.102)
OKLCHoklch(49.5% 0.145 315.1)
XYZxyz(16.6581, 10.9039, 31.3580)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804399 #5C9943
analogous
#554399 #804399 #994387
triadic
#804399 #998043 #439980
tetradic
#804399 #995543 #5C9943 #438799
square
#804399 #995543 #5C9943 #438799
split-complementary
#804399 #879943 #439955
monochromatic
#391E44 #5C306E #804399 #9F60B9 #B98ACC

Accessibility & contrast

On white

6.60
#804399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#804399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804399
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804399#FFFFFF#000000##FFFFFF
##8043991.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D599C
Deuteranopia (green-blind)
#425F97
Tritanopia (blue-blind)
#7E5167
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #804399;
/* rgb */ color: rgb(128, 67, 153);
/* oklch */ color: oklch(49.5% 0.145 315.1);
Tailwind
colors: {
  custom: {
    50: '#a77ab7',
    500: '#804399',
    950: '#000000',
  },
}
SCSS
$custom: #804399;
$custom-light: #a77ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#804399",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 153
  },
  "hsl": {
    "h": 282.558,
    "s": 39.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49501,
    "c": 0.14457,
    "h": 315.1
  },
  "luminance": 0.10903
}

Semantic roles & 50–950 ramp

primary
#804399
secondary
#91B781
accent
#CF597B
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #804399

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

Preview Lab → · Contrast checker → · Palette generator →

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