#804CAE#804CAE

#804CAE is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.1% C 0.154 H 306.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#804CAE
RGBrgb(128, 76, 174)
HSLhsl(272, 39%, 49%)
HSVhsv(272, 56%, 68%)
CMYKcmyk(26.4%, 56.3%, 0%, 31.8%)
CIE-LABlab(42.48, 40.92, -44.18)
CIE-LCHlch(42.48, 60.22, 312.80°)
OKLaboklab(52.14% 0.0913 -0.1244)
OKLCHoklch(52.14% 0.154 306.3)
XYZxyz(19.1249, 12.8142, 41.5021)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804CAE #7AAE4C
analogous
#4F4CAE #804CAE #AE4CAB
triadic
#804CAE #AE804C #4CAE80
tetradic
#804CAE #AE4F4C #7AAE4C #4CABAE
square
#804CAE #AE4F4C #7AAE4C #4CABAE
split-complementary
#804CAE #ABAE4C #4CAE4F
monochromatic
#412759 #613983 #804CAE #9E75C3 #BC9FD5

Accessibility & contrast

On white

5.89
#804CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#804CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804CAE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804CAE#FFFFFF#000000##FFFFFF
##804CAE1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2963B1
Deuteranopia (green-blind)
#3C65AC
Tritanopia (blue-blind)
#795E76
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #804cae;
/* rgb */ color: rgb(128, 76, 174);
/* oklch */ color: oklch(52.1% 0.154 306.3);
Tailwind
colors: {
  custom: {
    50: '#a880c7',
    500: '#804cae',
    950: '#000000',
  },
}
SCSS
$custom: #804cae;
$custom-light: #a880c7;
$custom-dark: #000000;
JSON
{
  "hex": "#804cae",
  "rgb": {
    "r": 128,
    "g": 76,
    "b": 174
  },
  "hsl": {
    "h": 271.837,
    "s": 39.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52143,
    "c": 0.1543,
    "h": 306.3
  },
  "luminance": 0.12814
}

Semantic roles & 50–950 ramp

primary
#804CAE
secondary
#A9C294
accent
#CF5990
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #804CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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