#804CDA#804CDA

#804CDA is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.2% C 0.206 H 295.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#804CDA
RGBrgb(128, 76, 218)
HSLhsl(262, 66%, 58%)
HSVhsv(262, 65%, 85%)
CMYKcmyk(41.3%, 65.1%, 0%, 14.5%)
CIE-LABlab(45.39, 52.04, -65.04)
CIE-LCHlch(45.39, 83.29, 308.67°)
OKLaboklab(55.18% 0.0894 -0.1856)
OKLCHoklch(55.18% 0.206 295.7)
XYZxyz(24.1381, 14.8195, 67.9048)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804CDA #A6DA4C
analogous
#4C5FDA #804CDA #C74CDA
triadic
#804CDA #DA804C #4CDA80
tetradic
#804CDA #DA4C5F #A6DA4C #4CDAC7
square
#804CDA #DA4C5F #A6DA4C #4CDAC7
split-complementary
#804CDA #DAC74C #5FDA4C
monochromatic
#471D8E #6028C1 #804CDA #A47FE4 #C8B1EF

Accessibility & contrast

On white

5.30
#804CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#804CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804CDA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804CDA#FFFFFF#000000##FFFFFF
##804CDA1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.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: #804cda;
/* rgb */ color: rgb(128, 76, 218);
/* oklch */ color: oklch(55.2% 0.206 295.7);
Tailwind
colors: {
  custom: {
    50: '#ab81e6',
    500: '#804cda',
    950: '#000000',
  },
}
SCSS
$custom: #804cda;
$custom-light: #ab81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#804cda",
  "rgb": {
    "r": 128,
    "g": 76,
    "b": 218
  },
  "hsl": {
    "h": 261.972,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5518,
    "c": 0.20605,
    "h": 295.7
  },
  "luminance": 0.1482
}

Semantic roles & 50–950 ramp

primary
#804CDA
secondary
#C9DDA4
accent
#E93FAB
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #804CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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