#804BBD#804BBD

#804BBD is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.0% C 0.174 H 302.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#804BBD
RGBrgb(128, 75, 189)
HSLhsl(268, 46%, 52%)
HSVhsv(268, 60%, 74%)
CMYKcmyk(32.3%, 60.3%, 0%, 25.9%)
CIE-LABlab(43.20, 45.15, -51.83)
CIE-LCHlch(43.20, 68.74, 311.06°)
OKLaboklab(52.97% 0.0926 -0.1468)
OKLCHoklch(52.97% 0.174 302.2)
XYZxyz(20.6013, 13.2954, 49.6152)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804BBD #88BD4B
analogous
#4B4FBD #804BBD #B94BBD
triadic
#804BBD #BD804B #4BBD80
tetradic
#804BBD #BD4B4F #88BD4B #4BBDB9
square
#804BBD #BD4B4F #88BD4B #4BBDB9
split-complementary
#804BBD #BDB94B #4FBD4B
monochromatic
#442668 #623694 #804BBD #A078CD #BFA5DE

Accessibility & contrast

On white

5.74
#804BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #804BBD
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804BBD#FFFFFF#000000##FFFFFF
##804BBD1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0965C1
Deuteranopia (green-blind)
#2B66BA
Tritanopia (blue-blind)
#74637D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #804bbd;
/* rgb */ color: rgb(128, 75, 189);
/* oklch */ color: oklch(53.0% 0.174 302.2);
Tailwind
colors: {
  custom: {
    50: '#a980d1',
    500: '#804bbd',
    950: '#000000',
  },
}
SCSS
$custom: #804bbd;
$custom-light: #a980d1;
$custom-dark: #000000;
JSON
{
  "hex": "#804bbd",
  "rgb": {
    "r": 128,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 267.895,
    "s": 46.341,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5297,
    "c": 0.1736,
    "h": 302.2
  },
  "luminance": 0.13295
}

Semantic roles & 50–950 ramp

primary
#804BBD
secondary
#B4CB99
accent
#D65299
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #804BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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