#804CCD#804CCD

#804CCD is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.2% C 0.191 H 298.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#804CCD
RGBrgb(128, 76, 205)
HSLhsl(264, 56%, 55%)
HSVhsv(264, 63%, 80%)
CMYKcmyk(37.6%, 62.9%, 0%, 19.6%)
CIE-LABlab(44.47, 48.67, -59.07)
CIE-LCHlch(44.47, 76.54, 309.49°)
OKLaboklab(54.23% 0.0906 -0.1681)
OKLCHoklch(54.23% 0.191 298.3)
XYZxyz(22.5032, 14.1656, 59.2944)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804CCD #99CD4C
analogous
#4C58CD #804CCD #C04CCD
triadic
#804CCD #CD804C #4CCD80
tetradic
#804CCD #CD4C58 #99CD4C #4CCDC0
square
#804CCD #CD4C58 #99CD4C #4CCDC0
split-complementary
#804CCD #CDC04C #58CD4C
monochromatic
#47237C #6230AC #804CCD #A27CDA #C4ACE8

Accessibility & contrast

On white

5.48
#804CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#804CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804CCD
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804CCD#FFFFFF#000000##FFFFFF
##804CCD1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#0868CA
Tritanopia (blue-blind)
#6E6986
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #804ccd;
/* rgb */ color: rgb(128, 76, 205);
/* oklch */ color: oklch(54.2% 0.191 298.3);
Tailwind
colors: {
  custom: {
    50: '#aa81dd',
    500: '#804ccd',
    950: '#000000',
  },
}
SCSS
$custom: #804ccd;
$custom-light: #aa81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#804ccd",
  "rgb": {
    "r": 128,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 264.186,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54228,
    "c": 0.19097,
    "h": 298.3
  },
  "luminance": 0.14166
}

Semantic roles & 50–950 ramp

primary
#804CCD
secondary
#C0D59F
accent
#E048A3
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #804CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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