#804EF9#804EF9

#804EF9 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.9% C 0.239 H 290.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#804EF9
RGBrgb(128, 78, 249)
HSLhsl(258, 93%, 64%)
HSVhsv(258, 69%, 98%)
CMYKcmyk(48.6%, 68.7%, 0%, 2.4%)
CIE-LABlab(48.10, 59.21, -78.11)
CIE-LCHlch(48.10, 98.01, 307.17°)
OKLaboklab(57.86% 0.083 -0.2241)
OKLCHoklch(57.86% 0.239 290.3)
XYZxyz(28.7205, 16.8764, 91.3483)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804EF9 #C7F94E
analogous
#4E72F9 #804EF9 #D64EF9
triadic
#804EF9 #F9804E #4EF980
tetradic
#804EF9 #F94E72 #C7F94E #4EF9D6
square
#804EF9 #F94E72 #C7F94E #4EF9D6
split-complementary
#804EF9 #F9D64E #72F94E
monochromatic
#3F07C6 #5613F7 #804EF9 #AA89FB #D5C4FD

Accessibility & contrast

On white

4.80
#804EF9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#804EF9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804EF9
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804EF9#FFFFFF#000000##FFFFFF
##804EF91.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FE
Deuteranopia (green-blind)
#006EF6
Tritanopia (blue-blind)
#577A9E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #804ef9;
/* rgb */ color: rgb(128, 78, 249);
/* oklch */ color: oklch(57.9% 0.239 290.3);
Tailwind
colors: {
  custom: {
    50: '#af83fc',
    500: '#804ef9',
    950: '#000000',
  },
}
SCSS
$custom: #804ef9;
$custom-light: #af83fc;
$custom-dark: #000000;
JSON
{
  "hex": "#804ef9",
  "rgb": {
    "r": 128,
    "g": 78,
    "b": 249
  },
  "hsl": {
    "h": 257.544,
    "s": 93.443,
    "l": 64.118
  },
  "oklch": {
    "l": 0.57861,
    "c": 0.23893,
    "h": 290.3
  },
  "luminance": 0.16878
}

Semantic roles & 50–950 ramp

primary
#804EF9
secondary
#DEEFB4
accent
#E600A2
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #804EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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