#804FB0#804FB0

#804FB0 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.7% C 0.152 H 305.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#804FB0
RGBrgb(128, 79, 176)
HSLhsl(270, 38%, 50%)
HSVhsv(270, 55%, 69%)
CMYKcmyk(27.3%, 55.1%, 0%, 31%)
CIE-LABlab(43.24, 39.74, -44.16)
CIE-LCHlch(43.24, 59.40, 311.98°)
OKLaboklab(52.74% 0.0874 -0.1243)
OKLCHoklch(52.74% 0.152 305.1)
XYZxyz(19.5329, 13.3159, 42.6071)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804FB0 #7FB04F
analogous
#4F4FB0 #804FB0 #B04FB0
triadic
#804FB0 #B0804F #4FB080
tetradic
#804FB0 #B04F4F #7FB04F #4FB0B0
square
#804FB0 #B04F4F #7FB04F #4FB0B0
split-complementary
#804FB0 #B0B04F #4FB04F
monochromatic
#43295C #613C86 #804FB0 #9E79C3 #BDA3D6

Accessibility & contrast

On white

5.73
#804FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#804FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804FB0
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804FB0#FFFFFF#000000##FFFFFF
##804FB01.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D65B3
Deuteranopia (green-blind)
#3E66AE
Tritanopia (blue-blind)
#786178
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #804fb0;
/* rgb */ color: rgb(128, 79, 176);
/* oklch */ color: oklch(52.7% 0.152 305.1);
Tailwind
colors: {
  custom: {
    50: '#a882c8',
    500: '#804fb0',
    950: '#000000',
  },
}
SCSS
$custom: #804fb0;
$custom-light: #a882c8;
$custom-dark: #000000;
JSON
{
  "hex": "#804fb0",
  "rgb": {
    "r": 128,
    "g": 79,
    "b": 176
  },
  "hsl": {
    "h": 270.309,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.52735,
    "c": 0.15196,
    "h": 305.1
  },
  "luminance": 0.13316
}

Semantic roles & 50–950 ramp

primary
#804FB0
secondary
#ADC398
accent
#CE5A93
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #804FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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