#804BC0#804BC0

#804BC0 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.2% C 0.177 H 301.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#804BC0
RGBrgb(128, 75, 192)
HSLhsl(267, 48%, 52%)
HSVhsv(267, 61%, 75%)
CMYKcmyk(33.3%, 60.9%, 0%, 24.7%)
CIE-LABlab(43.40, 45.90, -53.26)
CIE-LCHlch(43.40, 70.31, 310.76°)
OKLaboklab(53.17% 0.0925 -0.151)
OKLCHoklch(53.17% 0.177 301.5)
XYZxyz(20.9303, 13.4270, 51.3479)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804BC0 #8BC04B
analogous
#4B51C0 #804BC0 #BA4BC0
triadic
#804BC0 #C0804B #4BC080
tetradic
#804BC0 #C04B51 #8BC04B #4BC0BA
square
#804BC0 #C04B51 #8BC04B #4BC0BA
split-complementary
#804BC0 #C0BA4B #51C04B
monochromatic
#45256B #623598 #804BC0 #A078D0 #C0A6E0

Accessibility & contrast

On white

5.70
#804BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#804BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804BC0
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804BC0#FFFFFF#000000##FFFFFF
##804BC01.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C4
Deuteranopia (green-blind)
#2666BD
Tritanopia (blue-blind)
#73647E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #804bc0;
/* rgb */ color: rgb(128, 75, 192);
/* oklch */ color: oklch(53.2% 0.177 301.5);
Tailwind
colors: {
  custom: {
    50: '#a980d4',
    500: '#804bc0',
    950: '#000000',
  },
}
SCSS
$custom: #804bc0;
$custom-light: #a980d4;
$custom-dark: #000000;
JSON
{
  "hex": "#804bc0",
  "rgb": {
    "r": 128,
    "g": 75,
    "b": 192
  },
  "hsl": {
    "h": 267.179,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53174,
    "c": 0.17712,
    "h": 301.5
  },
  "luminance": 0.13427
}

Semantic roles & 50–950 ramp

primary
#804BC0
secondary
#B6CD9A
accent
#D8509A
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #804BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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