#804BD0#804BD0

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

Color values

HEX#804BD0
RGBrgb(128, 75, 208)
HSLhsl(264, 59%, 55%)
HSVhsv(264, 64%, 82%)
CMYKcmyk(38.5%, 63.9%, 0%, 18.4%)
CIE-LABlab(44.48, 49.97, -60.77)
CIE-LCHlch(44.48, 78.68, 309.43°)
OKLaboklab(54.3% 0.0915 -0.1731)
OKLCHoklch(54.3% 0.196 297.9)
XYZxyz(22.8004, 14.1751, 61.1971)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804BD0 #9BD04B
analogous
#4B58D0 #804BD0 #C24BD0
triadic
#804BD0 #D0804B #4BD080
tetradic
#804BD0 #D04B58 #9BD04B #4BD0C2
square
#804BD0 #D04B58 #9BD04B #4BD0C2
split-complementary
#804BD0 #D0C24B #58D04B
monochromatic
#47217F #622EB0 #804BD0 #A27CDD #C4ACE9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##804BD0#FFFFFF#000000##FFFFFF
##804BD01.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)
#0069D4
Deuteranopia (green-blind)
#0068CD
Tritanopia (blue-blind)
#6D6987
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #804bd0;
/* rgb */ color: rgb(128, 75, 208);
/* oklch */ color: oklch(54.3% 0.196 297.9);
Tailwind
colors: {
  custom: {
    50: '#aa80df',
    500: '#804bd0',
    950: '#000000',
  },
}
SCSS
$custom: #804bd0;
$custom-light: #aa80df;
$custom-dark: #000000;
JSON
{
  "hex": "#804bd0",
  "rgb": {
    "r": 128,
    "g": 75,
    "b": 208
  },
  "hsl": {
    "h": 263.91,
    "s": 58.59,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54304,
    "c": 0.1958,
    "h": 297.9
  },
  "luminance": 0.14175
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #804BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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