#804CA4#804CA4

#804CA4 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.5% C 0.142 H 309.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#804CA4
RGBrgb(128, 76, 164)
HSLhsl(275, 37%, 47%)
HSVhsv(275, 54%, 64%)
CMYKcmyk(22%, 53.7%, 0%, 35.7%)
CIE-LABlab(41.91, 38.53, -39.17)
CIE-LCHlch(41.91, 54.94, 314.53°)
OKLaboklab(51.53% 0.0907 -0.1098)
OKLCHoklch(51.53% 0.142 309.6)
XYZxyz(18.1861, 12.4387, 36.5576)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804CA4 #70A44C
analogous
#544CA4 #804CA4 #A44C9C
triadic
#804CA4 #A4804C #4CA480
tetradic
#804CA4 #A4544C #70A44C #4C9CA4
square
#804CA4 #A4544C #70A44C #4C9CA4
split-complementary
#804CA4 #9CA44C #4CA454
monochromatic
#3F2550 #5F397A #804CA4 #9E70BD #BA9AD0

Accessibility & contrast

On white

6.02
#804CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#804CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804CA4
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804CA4#FFFFFF#000000##FFFFFF
##804CA41.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3361A7
Deuteranopia (green-blind)
#4364A2
Tritanopia (blue-blind)
#7B5B71
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #804ca4;
/* rgb */ color: rgb(128, 76, 164);
/* oklch */ color: oklch(51.5% 0.142 309.6);
Tailwind
colors: {
  custom: {
    50: '#a780bf',
    500: '#804ca4',
    950: '#000000',
  },
}
SCSS
$custom: #804ca4;
$custom-light: #a780bf;
$custom-dark: #000000;
JSON
{
  "hex": "#804ca4",
  "rgb": {
    "r": 128,
    "g": 76,
    "b": 164
  },
  "hsl": {
    "h": 275.455,
    "s": 36.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51531,
    "c": 0.14239,
    "h": 309.6
  },
  "luminance": 0.12438
}

Semantic roles & 50–950 ramp

primary
#804CA4
secondary
#A2BD8F
accent
#CD5B8A
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #804CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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