#804FDA#804FDA

#804FDA is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.6% C 0.202 H 295.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#804FDA
RGBrgb(128, 79, 218)
HSLhsl(261, 65%, 58%)
HSVhsv(261, 64%, 85%)
CMYKcmyk(41.3%, 63.8%, 0%, 14.5%)
CIE-LABlab(45.96, 50.47, -64.10)
CIE-LCHlch(45.96, 81.58, 308.22°)
OKLaboklab(55.6% 0.0862 -0.1829)
OKLCHoklch(55.6% 0.202 295.2)
XYZxyz(24.3496, 15.2426, 67.9753)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804FDA #A9DA4F
analogous
#4F63DA #804FDA #C54FDA
triadic
#804FDA #DA804F #4FDA80
tetradic
#804FDA #DA4F63 #A9DA4F #4FDAC5
square
#804FDA #DA4F63 #A9DA4F #4FDAC5
split-complementary
#804FDA #DAC54F #63DA4F
monochromatic
#461E90 #5F29C3 #804FDA #A482E5 #C9B4EF

Accessibility & contrast

On white

5.19
#804FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#804FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804FDA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804FDA#FFFFFF#000000##FFFFFF
##804FDA1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#006BD7
Tritanopia (blue-blind)
#686F8D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #804fda;
/* rgb */ color: rgb(128, 79, 218);
/* oklch */ color: oklch(55.6% 0.202 295.2);
Tailwind
colors: {
  custom: {
    50: '#ab83e6',
    500: '#804fda',
    950: '#000000',
  },
}
SCSS
$custom: #804fda;
$custom-light: #ab83e6;
$custom-dark: #000000;
JSON
{
  "hex": "#804fda",
  "rgb": {
    "r": 128,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 261.151,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55598,
    "c": 0.2022,
    "h": 295.2
  },
  "luminance": 0.15243
}

Semantic roles & 50–950 ramp

primary
#804FDA
secondary
#CBDEA7
accent
#E840AD
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #804FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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