#804DC0#804DC0

#804DC0 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.5% C 0.174 H 301.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#804DC0
RGBrgb(128, 77, 192)
HSLhsl(267, 48%, 53%)
HSVhsv(267, 60%, 75%)
CMYKcmyk(33.3%, 59.9%, 0%, 24.7%)
CIE-LABlab(43.80, 44.82, -52.61)
CIE-LCHlch(43.80, 69.12, 310.43°)
OKLaboklab(53.47% 0.0901 -0.1491)
OKLCHoklch(53.47% 0.174 301.1)
XYZxyz(21.0681, 13.7026, 51.3939)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804DC0 #8DC04D
analogous
#4D53C0 #804DC0 #BA4DC0
triadic
#804DC0 #C0804D #4DC080
tetradic
#804DC0 #C04D53 #8DC04D #4DC0BA
square
#804DC0 #C04D53 #8DC04D #4DC0BA
split-complementary
#804DC0 #C0BA4D #53C04D
monochromatic
#45266C #623699 #804DC0 #A07AD0 #C1A7E0

Accessibility & contrast

On white

5.61
#804DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#804DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804DC0
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804DC0#FFFFFF#000000##FFFFFF
##804DC01.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A67C4
Deuteranopia (green-blind)
#2A67BD
Tritanopia (blue-blind)
#73657F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #804dc0;
/* rgb */ color: rgb(128, 77, 192);
/* oklch */ color: oklch(53.5% 0.174 301.1);
Tailwind
colors: {
  custom: {
    50: '#a981d4',
    500: '#804dc0',
    950: '#000000',
  },
}
SCSS
$custom: #804dc0;
$custom-light: #a981d4;
$custom-dark: #000000;
JSON
{
  "hex": "#804dc0",
  "rgb": {
    "r": 128,
    "g": 77,
    "b": 192
  },
  "hsl": {
    "h": 266.609,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53468,
    "c": 0.17423,
    "h": 301.1
  },
  "luminance": 0.13703
}

Semantic roles & 50–950 ramp

primary
#804DC0
secondary
#B7CD9B
accent
#D7509C
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #804DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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