#804BBF#804BBF

#804BBF is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.1% C 0.176 H 301.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#804BBF
RGBrgb(128, 75, 191)
HSLhsl(267, 48%, 52%)
HSVhsv(267, 61%, 75%)
CMYKcmyk(33%, 60.7%, 0%, 25.1%)
CIE-LABlab(43.33, 45.65, -52.78)
CIE-LCHlch(43.33, 69.79, 310.86°)
OKLaboklab(53.11% 0.0926 -0.1496)
OKLCHoklch(53.11% 0.176 301.7)
XYZxyz(20.8199, 13.3829, 50.7664)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804BBF #8ABF4B
analogous
#4B50BF #804BBF #BA4BBF
triadic
#804BBF #BF804B #4BBF80
tetradic
#804BBF #BF4B50 #8ABF4B #4BBFBA
square
#804BBF #BF4B50 #8ABF4B #4BBFBA
split-complementary
#804BBF #BFBA4B #50BF4B
monochromatic
#45266A #623697 #804BBF #A078CF #C0A5DF

Accessibility & contrast

On white

5.71
#804BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#804BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804BBF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804BBF#FFFFFF#000000##FFFFFF
##804BBF1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0166C3
Deuteranopia (green-blind)
#2866BC
Tritanopia (blue-blind)
#73637E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #804bbf;
/* rgb */ color: rgb(128, 75, 191);
/* oklch */ color: oklch(53.1% 0.176 301.7);
Tailwind
colors: {
  custom: {
    50: '#a980d3',
    500: '#804bbf',
    950: '#000000',
  },
}
SCSS
$custom: #804bbf;
$custom-light: #a980d3;
$custom-dark: #000000;
JSON
{
  "hex": "#804bbf",
  "rgb": {
    "r": 128,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 267.414,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53106,
    "c": 0.17594,
    "h": 301.7
  },
  "luminance": 0.13383
}

Semantic roles & 50–950 ramp

primary
#804BBF
secondary
#B5CC9A
accent
#D7519A
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #804BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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