#804BC9#804BC9

#804BC9 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.8% C 0.188 H 299.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#804BC9
RGBrgb(128, 75, 201)
HSLhsl(265, 54%, 54%)
HSVhsv(265, 63%, 79%)
CMYKcmyk(36.3%, 62.7%, 0%, 21.2%)
CIE-LABlab(44.00, 48.18, -57.52)
CIE-LCHlch(44.00, 75.03, 309.95°)
OKLaboklab(53.8% 0.092 -0.1635)
OKLCHoklch(53.8% 0.188 299.4)
XYZxyz(21.9582, 13.8382, 56.7612)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804BC9 #94C94B
analogous
#4B55C9 #804BC9 #BF4BC9
triadic
#804BC9 #C9804B #4BC980
tetradic
#804BC9 #C94B55 #94C94B #4BC9BF
square
#804BC9 #C94B55 #94C94B #4BC9BF
split-complementary
#804BC9 #C9BF4B #55C94B
monochromatic
#462376 #6232A5 #804BC9 #A17AD7 #C2A9E5

Accessibility & contrast

On white

5.57
#804BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#804BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804BC9
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804BC9#FFFFFF#000000##FFFFFF
##804BC91.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CD
Deuteranopia (green-blind)
#1367C6
Tritanopia (blue-blind)
#706783
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #804bc9;
/* rgb */ color: rgb(128, 75, 201);
/* oklch */ color: oklch(53.8% 0.188 299.4);
Tailwind
colors: {
  custom: {
    50: '#aa80da',
    500: '#804bc9',
    950: '#000000',
  },
}
SCSS
$custom: #804bc9;
$custom-light: #aa80da;
$custom-dark: #000000;
JSON
{
  "hex": "#804bc9",
  "rgb": {
    "r": 128,
    "g": 75,
    "b": 201
  },
  "hsl": {
    "h": 265.238,
    "s": 53.846,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53801,
    "c": 0.18766,
    "h": 299.4
  },
  "luminance": 0.13838
}

Semantic roles & 50–950 ramp

primary
#804BC9
secondary
#BCD39D
accent
#DD4BA0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #804BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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