#804BCE#804BCE

#804BCE is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.2% C 0.193 H 298.3°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#804BCE
RGBrgb(128, 75, 206)
HSLhsl(264, 57%, 55%)
HSVhsv(264, 64%, 81%)
CMYKcmyk(37.9%, 63.6%, 0%, 19.2%)
CIE-LABlab(44.34, 49.46, -59.85)
CIE-LCHlch(44.34, 77.64, 309.57°)
OKLaboklab(54.16% 0.0917 -0.1704)
OKLCHoklch(54.16% 0.193 298.3)
XYZxyz(22.5559, 14.0773, 59.9094)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804BCE #99CE4B
analogous
#4B57CE #804BCE #C24BCE
triadic
#804BCE #CE804B #4BCE80
tetradic
#804BCE #CE4B57 #99CE4B #4BCEC2
square
#804BCE #CE4B57 #99CE4B #4BCEC2
split-complementary
#804BCE #CEC24B #57CE4B
monochromatic
#47227D #622FAD #804BCE #A27BDB #C4ABE8

Accessibility & contrast

On white

5.50
#804BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#804BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804BCE
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804BCE#FFFFFF#000000##FFFFFF
##804BCE1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#0068CB
Tritanopia (blue-blind)
#6E6886
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #804bce;
/* rgb */ color: rgb(128, 75, 206);
/* oklch */ color: oklch(54.2% 0.193 298.3);
Tailwind
colors: {
  custom: {
    50: '#aa80de',
    500: '#804bce',
    950: '#000000',
  },
}
SCSS
$custom: #804bce;
$custom-light: #aa80de;
$custom-dark: #000000;
JSON
{
  "hex": "#804bce",
  "rgb": {
    "r": 128,
    "g": 75,
    "b": 206
  },
  "hsl": {
    "h": 264.275,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54159,
    "c": 0.19348,
    "h": 298.3
  },
  "luminance": 0.14078
}

Semantic roles & 50–950 ramp

primary
#804BCE
secondary
#C0D69F
accent
#E047A3
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #804BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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