#804CE6#804CE6

#804CE6 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.1% C 0.220 H 293.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#804CE6
RGBrgb(128, 76, 230)
HSLhsl(260, 75%, 60%)
HSVhsv(260, 67%, 90%)
CMYKcmyk(44.3%, 67%, 0%, 9.8%)
CIE-LABlab(46.27, 55.18, -70.42)
CIE-LCHlch(46.27, 89.46, 308.08°)
OKLaboklab(56.09% 0.0878 -0.2015)
OKLCHoklch(56.09% 0.22 293.6)
XYZxyz(25.7656, 15.4705, 76.4761)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804CE6 #B2E64C
analogous
#4C65E6 #804CE6 #CD4CE6
triadic
#804CE6 #E6804C #4CE680
tetradic
#804CE6 #E64C65 #B2E64C #4CE6CD
square
#804CE6 #E64C65 #B2E64C #4CE6CD
split-complementary
#804CE6 #E6CD4C #65E64C
monochromatic
#4517A1 #5C1ED7 #804CE6 #A682ED #CCB7F5

Accessibility & contrast

On white

5.13
#804CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#804CE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804CE6
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804CE6#FFFFFF#000000##FFFFFF
##804CE61.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEB
Deuteranopia (green-blind)
#006BE3
Tritanopia (blue-blind)
#637293
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #804ce6;
/* rgb */ color: rgb(128, 76, 230);
/* oklch */ color: oklch(56.1% 0.220 293.6);
Tailwind
colors: {
  custom: {
    50: '#ac81ef',
    500: '#804ce6',
    950: '#000000',
  },
}
SCSS
$custom: #804ce6;
$custom-light: #ac81ef;
$custom-dark: #000000;
JSON
{
  "hex": "#804ce6",
  "rgb": {
    "r": 128,
    "g": 76,
    "b": 230
  },
  "hsl": {
    "h": 260.26,
    "s": 75.49,
    "l": 60
  },
  "oklch": {
    "l": 0.56095,
    "c": 0.21979,
    "h": 293.6
  },
  "luminance": 0.15471
}

Semantic roles & 50–950 ramp

primary
#804CE6
secondary
#D1E5A9
accent
#F236B2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #804CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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