#804ABF#804ABF

#804ABF is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.0% C 0.177 H 301.9°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#804ABF
RGBrgb(128, 74, 191)
HSLhsl(268, 48%, 52%)
HSVhsv(268, 61%, 75%)
CMYKcmyk(33%, 61.3%, 0%, 25.1%)
CIE-LABlab(43.13, 46.19, -53.10)
CIE-LCHlch(43.13, 70.38, 311.01°)
OKLaboklab(52.96% 0.0938 -0.1506)
OKLCHoklch(52.96% 0.177 301.9)
XYZxyz(20.7526, 13.2483, 50.7440)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804ABF #89BF4A
analogous
#4A4FBF #804ABF #BA4ABF
triadic
#804ABF #BF804A #4ABF80
tetradic
#804ABF #BF4A4F #89BF4A #4ABFBA
square
#804ABF #BF4A4F #89BF4A #4ABFBA
split-complementary
#804ABF #BFBA4A #4FBF4A
monochromatic
#452569 #623597 #804ABF #A077CF #BFA4DF

Accessibility & contrast

On white

5.75
#804ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#804ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804ABF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804ABF#FFFFFF#000000##FFFFFF
##804ABF1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#2665BC
Tritanopia (blue-blind)
#73637D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #804abf;
/* rgb */ color: rgb(128, 74, 191);
/* oklch */ color: oklch(53.0% 0.177 301.9);
Tailwind
colors: {
  custom: {
    50: '#a97fd3',
    500: '#804abf',
    950: '#000000',
  },
}
SCSS
$custom: #804abf;
$custom-light: #a97fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#804abf",
  "rgb": {
    "r": 128,
    "g": 74,
    "b": 191
  },
  "hsl": {
    "h": 267.692,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52961,
    "c": 0.17738,
    "h": 301.9
  },
  "luminance": 0.13248
}

Semantic roles & 50–950 ramp

primary
#804ABF
secondary
#B4CC99
accent
#D75099
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #804ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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