#804CED#804CED

#804CED is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.6% C 0.228 H 292.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#804CED
RGBrgb(128, 76, 237)
HSLhsl(259, 82%, 61%)
HSVhsv(259, 68%, 93%)
CMYKcmyk(46%, 67.9%, 0%, 7.1%)
CIE-LABlab(46.81, 57.03, -73.50)
CIE-LCHlch(46.81, 93.03, 307.81°)
OKLaboklab(56.64% 0.0868 -0.2105)
OKLCHoklch(56.64% 0.228 292.4)
XYZxyz(26.7683, 15.8716, 81.7575)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804CED #B9ED4C
analogous
#4C69ED #804CED #D14CED
triadic
#804CED #ED804C #4CED80
tetradic
#804CED #ED4C69 #B9ED4C #4CEDD1
square
#804CED #ED4C69 #B9ED4C #4CEDD1
split-complementary
#804CED #EDD14C #69ED4C
monochromatic
#4411AD #5917E5 #804CED #A784F3 #CFBBF8

Accessibility & contrast

On white

5.03
#804CED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#804CED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804CED
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804CED#FFFFFF#000000##FFFFFF
##804CED1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F2
Deuteranopia (green-blind)
#006CEA
Tritanopia (blue-blind)
#5F7497
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #804ced;
/* rgb */ color: rgb(128, 76, 237);
/* oklch */ color: oklch(56.6% 0.228 292.4);
Tailwind
colors: {
  custom: {
    50: '#ad82f4',
    500: '#804ced',
    950: '#000000',
  },
}
SCSS
$custom: #804ced;
$custom-light: #ad82f4;
$custom-dark: #000000;
JSON
{
  "hex": "#804ced",
  "rgb": {
    "r": 128,
    "g": 76,
    "b": 237
  },
  "hsl": {
    "h": 259.379,
    "s": 81.726,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56643,
    "c": 0.2277,
    "h": 292.4
  },
  "luminance": 0.15873
}

Semantic roles & 50–950 ramp

primary
#804CED
secondary
#D5E8AC
accent
#DE0799
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #804CED

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

Preview Lab → · Contrast checker → · Palette generator →

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