#804DAE#804DAE

#804DAE is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.3% C 0.153 H 306.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#804DAE
RGBrgb(128, 77, 174)
HSLhsl(272, 39%, 49%)
HSVhsv(272, 56%, 68%)
CMYKcmyk(26.4%, 55.7%, 0%, 31.8%)
CIE-LABlab(42.69, 40.36, -43.84)
CIE-LCHlch(42.69, 59.59, 312.63°)
OKLaboklab(52.3% 0.0899 -0.1234)
OKLCHoklch(52.3% 0.153 306.1)
XYZxyz(19.1943, 12.9531, 41.5252)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804DAE #7BAE4D
analogous
#504DAE #804DAE #AE4DAC
triadic
#804DAE #AE804D #4DAE80
tetradic
#804DAE #AE504D #7BAE4D #4DACAE
square
#804DAE #AE504D #7BAE4D #4DACAE
split-complementary
#804DAE #ACAE4D #4DAE50
monochromatic
#422759 #613A84 #804DAE #9E76C2 #BCA0D5

Accessibility & contrast

On white

5.85
#804DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#804DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804DAE
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804DAE#FFFFFF#000000##FFFFFF
##804DAE1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B63B1
Deuteranopia (green-blind)
#3D65AC
Tritanopia (blue-blind)
#795F76
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #804dae;
/* rgb */ color: rgb(128, 77, 174);
/* oklch */ color: oklch(52.3% 0.153 306.1);
Tailwind
colors: {
  custom: {
    50: '#a881c7',
    500: '#804dae',
    950: '#000000',
  },
}
SCSS
$custom: #804dae;
$custom-light: #a881c7;
$custom-dark: #000000;
JSON
{
  "hex": "#804dae",
  "rgb": {
    "r": 128,
    "g": 77,
    "b": 174
  },
  "hsl": {
    "h": 271.546,
    "s": 38.645,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52298,
    "c": 0.15271,
    "h": 306.1
  },
  "luminance": 0.12953
}

Semantic roles & 50–950 ramp

primary
#804DAE
secondary
#AAC295
accent
#CF5991
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #804DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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