#804FE0#804FE0

#804FE0 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.0% C 0.209 H 294.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#804FE0
RGBrgb(128, 79, 224)
HSLhsl(260, 70%, 59%)
HSVhsv(260, 65%, 88%)
CMYKcmyk(42.9%, 64.7%, 0%, 12.2%)
CIE-LABlab(46.39, 52.05, -66.81)
CIE-LCHlch(46.39, 84.70, 307.92°)
OKLaboklab(56.04% 0.0856 -0.1909)
OKLCHoklch(56.04% 0.209 294.2)
XYZxyz(25.1490, 15.5623, 72.1853)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804FE0 #AFE04F
analogous
#4F67E0 #804FE0 #C94FE0
triadic
#804FE0 #E0804F #4FE080
tetradic
#804FE0 #E04F67 #AFE04F #4FE0C9
square
#804FE0 #E04F67 #AFE04F #4FE0C9
split-complementary
#804FE0 #E0C94F #67E04F
monochromatic
#461B9A #5D24CE #804FE0 #A683E9 #CBB7F2

Accessibility & contrast

On white

5.11
#804FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#804FE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804FE0
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804FE0#FFFFFF#000000##FFFFFF
##804FE01.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE4
Deuteranopia (green-blind)
#006BDD
Tritanopia (blue-blind)
#667191
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #804fe0;
/* rgb */ color: rgb(128, 79, 224);
/* oklch */ color: oklch(56.0% 0.209 294.2);
Tailwind
colors: {
  custom: {
    50: '#ac83eb',
    500: '#804fe0',
    950: '#000000',
  },
}
SCSS
$custom: #804fe0;
$custom-light: #ac83eb;
$custom-dark: #000000;
JSON
{
  "hex": "#804fe0",
  "rgb": {
    "r": 128,
    "g": 79,
    "b": 224
  },
  "hsl": {
    "h": 260.276,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56044,
    "c": 0.2092,
    "h": 294.2
  },
  "luminance": 0.15563
}

Semantic roles & 50–950 ramp

primary
#804FE0
secondary
#CFE2A9
accent
#ED3BB1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #804FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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