#804699#804699

#804699 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.0% C 0.140 H 314.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#804699
RGBrgb(128, 70, 153)
HSLhsl(282, 37%, 44%)
HSVhsv(282, 54%, 60%)
CMYKcmyk(16.3%, 54.2%, 0%, 40%)
CIE-LABlab(40.03, 39.32, -35.56)
CIE-LCHlch(40.03, 53.01, 317.88°)
OKLaboklab(49.95% 0.0982 -0.0992)
OKLCHoklch(49.95% 0.14 314.7)
XYZxyz(16.8411, 11.2699, 31.4190)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804699 #5F9946
analogous
#564699 #804699 #994688
triadic
#804699 #998046 #469980
tetradic
#804699 #995646 #5F9946 #468899
square
#804699 #995646 #5F9946 #468899
split-complementary
#804699 #889946 #469956
monochromatic
#3A2045 #5D336F #804699 #9F64B8 #B98ECB

Accessibility & contrast

On white

6.45
#804699 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#804699 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804699
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804699#FFFFFF#000000##FFFFFF
##8046991.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325B9C
Deuteranopia (green-blind)
#456097
Tritanopia (blue-blind)
#7E5369
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #804699;
/* rgb */ color: rgb(128, 70, 153);
/* oklch */ color: oklch(50.0% 0.140 314.7);
Tailwind
colors: {
  custom: {
    50: '#a77cb7',
    500: '#804699',
    950: '#000000',
  },
}
SCSS
$custom: #804699;
$custom-light: #a77cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#804699",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 153
  },
  "hsl": {
    "h": 281.928,
    "s": 37.22,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49952,
    "c": 0.1396,
    "h": 314.7
  },
  "luminance": 0.11269
}

Semantic roles & 50–950 ramp

primary
#804699
secondary
#93B784
accent
#CD5B7D
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #804699

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

Preview Lab → · Contrast checker → · Palette generator →

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