#804FF0#804FF0

#804FF0 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.3% C 0.228 H 291.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#804FF0
RGBrgb(128, 79, 240)
HSLhsl(258, 84%, 63%)
HSVhsv(258, 67%, 94%)
CMYKcmyk(46.7%, 67.1%, 0%, 5.9%)
CIE-LABlab(47.59, 56.30, -73.91)
CIE-LCHlch(47.59, 92.91, 307.30°)
OKLaboklab(57.27% 0.0835 -0.2117)
OKLCHoklch(57.27% 0.228 291.5)
XYZxyz(27.4218, 16.4715, 84.1556)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804FF0 #BFF04F
analogous
#4F6EF0 #804FF0 #D14FF0
triadic
#804FF0 #F0804F #4FF080
tetradic
#804FF0 #F04F6E #BFF04F #4FF0D1
square
#804FF0 #F04F6E #BFF04F #4FF0D1
split-complementary
#804FF0 #F0D14F #6EF04F
monochromatic
#420FB5 #5717EB #804FF0 #A987F5 #D1C0FA

Accessibility & contrast

On white

4.89
#804FF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#804FF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804FF0
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804FF0#FFFFFF#000000##FFFFFF
##804FF01.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F5
Deuteranopia (green-blind)
#006DED
Tritanopia (blue-blind)
#5D7799
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #804ff0;
/* rgb */ color: rgb(128, 79, 240);
/* oklch */ color: oklch(57.3% 0.228 291.5);
Tailwind
colors: {
  custom: {
    50: '#ad84f6',
    500: '#804ff0',
    950: '#000000',
  },
}
SCSS
$custom: #804ff0;
$custom-light: #ad84f6;
$custom-dark: #000000;
JSON
{
  "hex": "#804ff0",
  "rgb": {
    "r": 128,
    "g": 79,
    "b": 240
  },
  "hsl": {
    "h": 258.261,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57274,
    "c": 0.22762,
    "h": 291.5
  },
  "luminance": 0.16472
}

Semantic roles & 50–950 ramp

primary
#804FF0
secondary
#D9EBB0
accent
#E1059E
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #804FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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