#804FC8#804FC8

#804FC8 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.3% C 0.181 H 298.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#804FC8
RGBrgb(128, 79, 200)
HSLhsl(264, 52%, 55%)
HSVhsv(264, 61%, 78%)
CMYKcmyk(36%, 60.5%, 0%, 21.6%)
CIE-LABlab(44.73, 45.78, -55.76)
CIE-LCHlch(44.73, 72.14, 309.39°)
OKLaboklab(54.31% 0.0874 -0.1584)
OKLCHoklch(54.31% 0.181 298.9)
XYZxyz(22.1208, 14.3510, 56.2370)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804FC8 #97C84F
analogous
#4F5AC8 #804FC8 #BD4FC8
triadic
#804FC8 #C8804F #4FC880
tetradic
#804FC8 #C84F5A #97C84F #4FC8BD
square
#804FC8 #C84F5A #97C84F #4FC8BD
split-complementary
#804FC8 #C8BD4F #5AC84F
monochromatic
#472577 #6234A6 #804FC8 #A27ED7 #C3ACE5

Accessibility & contrast

On white

5.43
#804FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#804FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804FC8
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804FC8#FFFFFF#000000##FFFFFF
##804FC81.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#2169C5
Tritanopia (blue-blind)
#706984
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #804fc8;
/* rgb */ color: rgb(128, 79, 200);
/* oklch */ color: oklch(54.3% 0.181 298.9);
Tailwind
colors: {
  custom: {
    50: '#a983d9',
    500: '#804fc8',
    950: '#000000',
  },
}
SCSS
$custom: #804fc8;
$custom-light: #a983d9;
$custom-dark: #000000;
JSON
{
  "hex": "#804fc8",
  "rgb": {
    "r": 128,
    "g": 79,
    "b": 200
  },
  "hsl": {
    "h": 264.298,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54312,
    "c": 0.1809,
    "h": 298.9
  },
  "luminance": 0.14351
}

Semantic roles & 50–950 ramp

primary
#804FC8
secondary
#BED3A0
accent
#DC4CA2
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #804FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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