#804BC8#804BC8

#804BC8 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.7% C 0.186 H 299.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#804BC8
RGBrgb(128, 75, 200)
HSLhsl(265, 53%, 54%)
HSVhsv(265, 63%, 78%)
CMYKcmyk(36%, 62.5%, 0%, 21.6%)
CIE-LABlab(43.93, 47.93, -57.05)
CIE-LCHlch(43.93, 74.51, 310.03°)
OKLaboklab(53.73% 0.0921 -0.1622)
OKLCHoklch(53.73% 0.186 299.6)
XYZxyz(21.8409, 13.7913, 56.1437)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804BC8 #93C84B
analogous
#4B55C8 #804BC8 #BF4BC8
triadic
#804BC8 #C8804B #4BC880
tetradic
#804BC8 #C84B55 #93C84B #4BC8BF
square
#804BC8 #C84B55 #93C84B #4BC8BF
split-complementary
#804BC8 #C8BF4B #55C84B
monochromatic
#462475 #6232A4 #804BC8 #A17AD6 #C2A9E5

Accessibility & contrast

On white

5.59
#804BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#804BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804BC8
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804BC8#FFFFFF#000000##FFFFFF
##804BC81.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#1667C5
Tritanopia (blue-blind)
#706683
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #804bc8;
/* rgb */ color: rgb(128, 75, 200);
/* oklch */ color: oklch(53.7% 0.186 299.6);
Tailwind
colors: {
  custom: {
    50: '#aa80d9',
    500: '#804bc8',
    950: '#000000',
  },
}
SCSS
$custom: #804bc8;
$custom-light: #aa80d9;
$custom-dark: #000000;
JSON
{
  "hex": "#804bc8",
  "rgb": {
    "r": 128,
    "g": 75,
    "b": 200
  },
  "hsl": {
    "h": 265.44,
    "s": 53.191,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53731,
    "c": 0.18649,
    "h": 299.6
  },
  "luminance": 0.13791
}

Semantic roles & 50–950 ramp

primary
#804BC8
secondary
#BBD29D
accent
#DD4B9F
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #804BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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