#804FE5#804FE5

#804FE5 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.4% C 0.215 H 293.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#804FE5
RGBrgb(128, 79, 229)
HSLhsl(260, 74%, 60%)
HSVhsv(260, 66%, 90%)
CMYKcmyk(44.1%, 65.5%, 0%, 10.2%)
CIE-LABlab(46.76, 53.38, -69.05)
CIE-LCHlch(46.76, 87.28, 307.70°)
OKLaboklab(56.42% 0.085 -0.1975)
OKLCHoklch(56.42% 0.215 293.3)
XYZxyz(25.8371, 15.8375, 75.8092)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804FE5 #B4E54F
analogous
#4F69E5 #804FE5 #CB4FE5
triadic
#804FE5 #E5804F #4FE580
tetradic
#804FE5 #E54F69 #B4E54F #4FE5CB
square
#804FE5 #E54F69 #B4E54F #4FE5CB
split-complementary
#804FE5 #E5CB4F #69E54F
monochromatic
#4518A2 #5C20D7 #804FE5 #A684ED #CDBAF5

Accessibility & contrast

On white

5.04
#804FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#804FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804FE5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804FE5#FFFFFF#000000##FFFFFF
##804FE51.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#006CE2
Tritanopia (blue-blind)
#637393
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #804fe5;
/* rgb */ color: rgb(128, 79, 229);
/* oklch */ color: oklch(56.4% 0.215 293.3);
Tailwind
colors: {
  custom: {
    50: '#ac83ee',
    500: '#804fe5',
    950: '#000000',
  },
}
SCSS
$custom: #804fe5;
$custom-light: #ac83ee;
$custom-dark: #000000;
JSON
{
  "hex": "#804fe5",
  "rgb": {
    "r": 128,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 259.6,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56422,
    "c": 0.215,
    "h": 293.3
  },
  "luminance": 0.15838
}

Semantic roles & 50–950 ramp

primary
#804FE5
secondary
#D2E5AB
accent
#D60F95
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #804FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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