#804FE1#804FE1

#804FE1 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.1% C 0.210 H 294.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#804FE1
RGBrgb(128, 79, 225)
HSLhsl(260, 71%, 60%)
HSVhsv(260, 65%, 88%)
CMYKcmyk(43.1%, 64.9%, 0%, 11.8%)
CIE-LABlab(46.47, 52.32, -67.26)
CIE-LCHlch(46.47, 85.21, 307.87°)
OKLaboklab(56.12% 0.0855 -0.1922)
OKLCHoklch(56.12% 0.21 294)
XYZxyz(25.2850, 15.6167, 72.9017)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804FE1 #B0E14F
analogous
#4F67E1 #804FE1 #C94FE1
triadic
#804FE1 #E1804F #4FE180
tetradic
#804FE1 #E14F67 #B0E14F #4FE1C9
square
#804FE1 #E14F67 #B0E14F #4FE1C9
split-complementary
#804FE1 #E1C94F #67E14F
monochromatic
#461A9B #5D23CF #804FE1 #A683EA #CBB8F3

Accessibility & contrast

On white

5.09
#804FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#804FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804FE1
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804FE1#FFFFFF#000000##FFFFFF
##804FE11.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#006CDE
Tritanopia (blue-blind)
#657291
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #804fe1;
/* rgb */ color: rgb(128, 79, 225);
/* oklch */ color: oklch(56.1% 0.210 294.0);
Tailwind
colors: {
  custom: {
    50: '#ac83eb',
    500: '#804fe1',
    950: '#000000',
  },
}
SCSS
$custom: #804fe1;
$custom-light: #ac83eb;
$custom-dark: #000000;
JSON
{
  "hex": "#804fe1",
  "rgb": {
    "r": 128,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 260.137,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56119,
    "c": 0.21036,
    "h": 294
  },
  "luminance": 0.15617
}

Semantic roles & 50–950 ramp

primary
#804FE1
secondary
#CFE2AA
accent
#EE3AB1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #804FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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