#804EAE#804EAE

#804EAE is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.5% C 0.151 H 305.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#804EAE
RGBrgb(128, 78, 174)
HSLhsl(271, 38%, 49%)
HSVhsv(271, 55%, 68%)
CMYKcmyk(26.4%, 55.2%, 0%, 31.8%)
CIE-LABlab(42.90, 39.81, -43.51)
CIE-LCHlch(42.90, 58.97, 312.46°)
OKLaboklab(52.45% 0.0886 -0.1224)
OKLCHoklch(52.45% 0.151 305.9)
XYZxyz(19.2648, 13.0941, 41.5487)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804EAE #7CAE4E
analogous
#504EAE #804EAE #AE4EAC
triadic
#804EAE #AE804E #4EAE80
tetradic
#804EAE #AE504E #7CAE4E #4EACAE
square
#804EAE #AE504E #7CAE4E #4EACAE
split-complementary
#804EAE #ACAE4E #4EAE50
monochromatic
#422859 #613B84 #804EAE #9E77C2 #BCA1D5

Accessibility & contrast

On white

5.80
#804EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#804EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804EAE
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804EAE#FFFFFF#000000##FFFFFF
##804EAE1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B1
Deuteranopia (green-blind)
#3E66AC
Tritanopia (blue-blind)
#786076
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #804eae;
/* rgb */ color: rgb(128, 78, 174);
/* oklch */ color: oklch(52.5% 0.151 305.9);
Tailwind
colors: {
  custom: {
    50: '#a781c7',
    500: '#804eae',
    950: '#000000',
  },
}
SCSS
$custom: #804eae;
$custom-light: #a781c7;
$custom-dark: #000000;
JSON
{
  "hex": "#804eae",
  "rgb": {
    "r": 128,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 271.25,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52454,
    "c": 0.15113,
    "h": 305.9
  },
  "luminance": 0.13094
}

Semantic roles & 50–950 ramp

primary
#804EAE
secondary
#ABC296
accent
#CE5A91
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #804EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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