#804CD0#804CD0

#804CD0 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.4% C 0.194 H 297.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#804CD0
RGBrgb(128, 76, 208)
HSLhsl(264, 58%, 56%)
HSVhsv(264, 63%, 82%)
CMYKcmyk(38.5%, 63.5%, 0%, 18.4%)
CIE-LABlab(44.68, 49.45, -60.46)
CIE-LCHlch(44.68, 78.10, 309.28°)
OKLaboklab(54.44% 0.0904 -0.1722)
OKLCHoklch(54.44% 0.194 297.7)
XYZxyz(22.8688, 14.3118, 61.2199)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804CD0 #9CD04C
analogous
#4C5AD0 #804CD0 #C24CD0
triadic
#804CD0 #D0804C #4CD080
tetradic
#804CD0 #D04C5A #9CD04C #4CD0C2
square
#804CD0 #D04C5A #9CD04C #4CD0C2
split-complementary
#804CD0 #D0C24C #5AD04C
monochromatic
#472280 #622EB0 #804CD0 #A27CDD #C5ADE9

Accessibility & contrast

On white

5.44
#804CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#804CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804CD0
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804CD0#FFFFFF#000000##FFFFFF
##804CD01.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD4
Deuteranopia (green-blind)
#0068CD
Tritanopia (blue-blind)
#6D6A87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #804cd0;
/* rgb */ color: rgb(128, 76, 208);
/* oklch */ color: oklch(54.4% 0.194 297.7);
Tailwind
colors: {
  custom: {
    50: '#aa81df',
    500: '#804cd0',
    950: '#000000',
  },
}
SCSS
$custom: #804cd0;
$custom-light: #aa81df;
$custom-dark: #000000;
JSON
{
  "hex": "#804cd0",
  "rgb": {
    "r": 128,
    "g": 76,
    "b": 208
  },
  "hsl": {
    "h": 263.636,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54444,
    "c": 0.19447,
    "h": 297.7
  },
  "luminance": 0.14312
}

Semantic roles & 50–950 ramp

primary
#804CD0
secondary
#C2D7A0
accent
#E246A4
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #804CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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