#804CC0#804CC0

#804CC0 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.3% C 0.176 H 301.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#804CC0
RGBrgb(128, 76, 192)
HSLhsl(267, 48%, 53%)
HSVhsv(267, 60%, 75%)
CMYKcmyk(33.3%, 60.4%, 0%, 24.7%)
CIE-LABlab(43.60, 45.37, -52.94)
CIE-LCHlch(43.60, 69.72, 310.60°)
OKLaboklab(53.32% 0.0913 -0.1501)
OKLCHoklch(53.32% 0.176 301.3)
XYZxyz(20.9987, 13.5638, 51.3707)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804CC0 #8CC04C
analogous
#4C52C0 #804CC0 #BA4CC0
triadic
#804CC0 #C0804C #4CC080
tetradic
#804CC0 #C04C52 #8CC04C #4CC0BA
square
#804CC0 #C04C52 #8CC04C #4CC0BA
split-complementary
#804CC0 #C0BA4C #52C04C
monochromatic
#45266C #623699 #804CC0 #A079D0 #C0A7E0

Accessibility & contrast

On white

5.66
#804CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#804CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804CC0
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804CC0#FFFFFF#000000##FFFFFF
##804CC01.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0366C4
Deuteranopia (green-blind)
#2866BD
Tritanopia (blue-blind)
#73647F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #804cc0;
/* rgb */ color: rgb(128, 76, 192);
/* oklch */ color: oklch(53.3% 0.176 301.3);
Tailwind
colors: {
  custom: {
    50: '#a980d4',
    500: '#804cc0',
    950: '#000000',
  },
}
SCSS
$custom: #804cc0;
$custom-light: #a980d4;
$custom-dark: #000000;
JSON
{
  "hex": "#804cc0",
  "rgb": {
    "r": 128,
    "g": 76,
    "b": 192
  },
  "hsl": {
    "h": 266.897,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53321,
    "c": 0.17569,
    "h": 301.3
  },
  "luminance": 0.13564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #804CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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