#804696#804696

#804696 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 49.8% C 0.136 H 316.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#804696
RGBrgb(128, 70, 150)
HSLhsl(284, 36%, 43%)
HSVhsv(284, 53%, 59%)
CMYKcmyk(14.7%, 53.3%, 0%, 41.2%)
CIE-LABlab(39.87, 38.65, -34.00)
CIE-LCHlch(39.87, 51.48, 318.66°)
OKLaboklab(49.78% 0.0979 -0.0947)
OKLCHoklch(49.78% 0.136 316)
XYZxyz(16.5964, 11.1720, 30.1304)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804696 #5C9646
analogous
#584696 #804696 #964684
triadic
#804696 #968046 #469680
tetradic
#804696 #965846 #5C9646 #468496
square
#804696 #965846 #5C9646 #468496
split-complementary
#804696 #849646 #469658
monochromatic
#391F43 #5C336C #804696 #9F63B6 #B98DCA

Accessibility & contrast

On white

6.49
#804696 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#804696 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804696
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804696#FFFFFF#000000##FFFFFF
##8046961.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345A99
Deuteranopia (green-blind)
#476094
Tritanopia (blue-blind)
#7F5267
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #804696;
/* rgb */ color: rgb(128, 70, 150);
/* oklch */ color: oklch(49.8% 0.136 316.0);
Tailwind
colors: {
  custom: {
    50: '#a77cb5',
    500: '#804696',
    950: '#000000',
  },
}
SCSS
$custom: #804696;
$custom-light: #a77cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#804696",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 150
  },
  "hsl": {
    "h": 283.5,
    "s": 36.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49779,
    "c": 0.13622,
    "h": 316
  },
  "luminance": 0.11172
}

Semantic roles & 50–950 ramp

primary
#804696
secondary
#91B583
accent
#CC5B7A
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #804696

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

Preview Lab → · Contrast checker → · Palette generator →

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