#804FE9#804FE9

#804FE9 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.7% C 0.220 H 292.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#804FE9
RGBrgb(128, 79, 233)
HSLhsl(259, 78%, 61%)
HSVhsv(259, 66%, 91%)
CMYKcmyk(45.1%, 66.1%, 0%, 8.6%)
CIE-LABlab(47.06, 54.44, -70.83)
CIE-LCHlch(47.06, 89.33, 307.54°)
OKLaboklab(56.73% 0.0845 -0.2027)
OKLCHoklch(56.73% 0.22 292.6)
XYZxyz(26.4020, 16.0635, 78.7845)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804FE9 #B8E94F
analogous
#4F6BE9 #804FE9 #CD4FE9
triadic
#804FE9 #E9804F #4FE980
tetradic
#804FE9 #E94F6B #B8E94F #4FE9CD
square
#804FE9 #E94F6B #B8E94F #4FE9CD
split-complementary
#804FE9 #E9CD4F #6BE94F
monochromatic
#4415A9 #5A1CDF #804FE9 #A785F0 #CFBCF7

Accessibility & contrast

On white

4.98
#804FE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#804FE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804FE9
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804FE9#FFFFFF#000000##FFFFFF
##804FE91.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EE
Deuteranopia (green-blind)
#006DE6
Tritanopia (blue-blind)
#617495
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #804fe9;
/* rgb */ color: rgb(128, 79, 233);
/* oklch */ color: oklch(56.7% 0.220 292.6);
Tailwind
colors: {
  custom: {
    50: '#ad83f1',
    500: '#804fe9',
    950: '#000000',
  },
}
SCSS
$custom: #804fe9;
$custom-light: #ad83f1;
$custom-dark: #000000;
JSON
{
  "hex": "#804fe9",
  "rgb": {
    "r": 128,
    "g": 79,
    "b": 233
  },
  "hsl": {
    "h": 259.091,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56729,
    "c": 0.2196,
    "h": 292.6
  },
  "luminance": 0.16064
}

Semantic roles & 50–950 ramp

primary
#804FE9
secondary
#D4E7AD
accent
#DA0B98
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #804FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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