#804CAA#804CAA

#804CAA is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.9% C 0.150 H 307.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#804CAA
RGBrgb(128, 76, 170)
HSLhsl(273, 38%, 48%)
HSVhsv(273, 55%, 67%)
CMYKcmyk(24.7%, 55.3%, 0%, 33.3%)
CIE-LABlab(42.25, 39.95, -42.19)
CIE-LCHlch(42.25, 58.10, 313.44°)
OKLaboklab(51.9% 0.0911 -0.1186)
OKLCHoklch(51.9% 0.15 307.5)
XYZxyz(18.7408, 12.6606, 39.4789)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804CAA #76AA4C
analogous
#514CAA #804CAA #AA4CA5
triadic
#804CAA #AA804C #4CAA80
tetradic
#804CAA #AA514C #76AA4C #4CA5AA
square
#804CAA #AA514C #76AA4C #4CA5AA
split-complementary
#804CAA #A5AA4C #4CAA51
monochromatic
#402655 #603980 #804CAA #9E73C0 #BB9DD3

Accessibility & contrast

On white

5.95
#804CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#804CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804CAA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804CAA#FFFFFF#000000##FFFFFF
##804CAA1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D62AD
Deuteranopia (green-blind)
#3F64A8
Tritanopia (blue-blind)
#7A5D74
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #804caa;
/* rgb */ color: rgb(128, 76, 170);
/* oklch */ color: oklch(51.9% 0.150 307.5);
Tailwind
colors: {
  custom: {
    50: '#a780c4',
    500: '#804caa',
    950: '#000000',
  },
}
SCSS
$custom: #804caa;
$custom-light: #a780c4;
$custom-dark: #000000;
JSON
{
  "hex": "#804caa",
  "rgb": {
    "r": 128,
    "g": 76,
    "b": 170
  },
  "hsl": {
    "h": 273.191,
    "s": 38.211,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51895,
    "c": 0.14953,
    "h": 307.5
  },
  "luminance": 0.1266
}

Semantic roles & 50–950 ramp

primary
#804CAA
secondary
#A6C092
accent
#CE5A8E
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #804CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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