#804BDA#804BDA

#804BDA is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.0% C 0.207 H 295.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#804BDA
RGBrgb(128, 75, 218)
HSLhsl(262, 66%, 57%)
HSVhsv(262, 66%, 85%)
CMYKcmyk(41.3%, 65.6%, 0%, 14.5%)
CIE-LABlab(45.20, 52.56, -65.34)
CIE-LCHlch(45.20, 83.86, 308.81°)
OKLaboklab(55.04% 0.0904 -0.1866)
OKLCHoklch(55.04% 0.207 295.9)
XYZxyz(24.0697, 14.6828, 67.8820)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804BDA #A5DA4B
analogous
#4B5DDA #804BDA #C84BDA
triadic
#804BDA #DA804B #4BDA80
tetradic
#804BDA #DA4B5D #A5DA4B #4BDAC8
square
#804BDA #DA4B5D #A5DA4B #4BDAC8
split-complementary
#804BDA #DAC84B #5DDA4B
monochromatic
#471D8E #6028C0 #804BDA #A47EE4 #C8B1EF

Accessibility & contrast

On white

5.33
#804BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#804BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804BDA
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804BDA#FFFFFF#000000##FFFFFF
##804BDA1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDE
Deuteranopia (green-blind)
#0069D7
Tritanopia (blue-blind)
#696D8C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #804bda;
/* rgb */ color: rgb(128, 75, 218);
/* oklch */ color: oklch(55.0% 0.207 295.9);
Tailwind
colors: {
  custom: {
    50: '#ab80e6',
    500: '#804bda',
    950: '#000000',
  },
}
SCSS
$custom: #804bda;
$custom-light: #ab80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#804bda",
  "rgb": {
    "r": 128,
    "g": 75,
    "b": 218
  },
  "hsl": {
    "h": 262.238,
    "s": 65.899,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55044,
    "c": 0.20732,
    "h": 295.9
  },
  "luminance": 0.14683
}

Semantic roles & 50–950 ramp

primary
#804BDA
secondary
#C8DDA4
accent
#E93FAA
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #804BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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