#804A89#804A89

#804A89 is a mid, moderate purple. Relative luminance 0.113; OKLCH L 49.7% C 0.115 H 321.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#804A89
RGBrgb(128, 74, 137)
HSLhsl(291, 30%, 41%)
HSVhsv(291, 46%, 54%)
CMYKcmyk(6.6%, 46%, 0%, 46.3%)
CIE-LABlab(40.07, 33.62, -25.81)
CIE-LCHlch(40.07, 42.38, 322.49°)
OKLaboklab(49.71% 0.09 -0.071)
OKLCHoklch(49.71% 0.115 321.7)
XYZxyz(15.8657, 11.2935, 25.0062)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804A89 #53894A
analogous
#614A89 #804A89 #894A73
triadic
#804A89 #89804A #4A8980
tetradic
#804A89 #89614A #53894A #4A7389
square
#804A89 #89614A #53894A #4A7389
split-complementary
#804A89 #73894A #4A8961
monochromatic
#361F3A #5B3561 #804A89 #A165AC #BA8CC1

Accessibility & contrast

On white

6.44
#804A89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#804A89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804A89
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804A89#FFFFFF#000000##FFFFFF
##804A891.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425A8B
Deuteranopia (green-blind)
#506187
Tritanopia (blue-blind)
#815263
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #804a89;
/* rgb */ color: rgb(128, 74, 137);
/* oklch */ color: oklch(49.7% 0.115 321.7);
Tailwind
colors: {
  custom: {
    50: '#a67eab',
    500: '#804a89',
    950: '#000000',
  },
}
SCSS
$custom: #804a89;
$custom-light: #a67eab;
$custom-dark: #000000;
JSON
{
  "hex": "#804a89",
  "rgb": {
    "r": 128,
    "g": 74,
    "b": 137
  },
  "hsl": {
    "h": 291.429,
    "s": 29.858,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49714,
    "c": 0.11467,
    "h": 321.7
  },
  "luminance": 0.11293
}

Semantic roles & 50–950 ramp

primary
#804A89
secondary
#88AD82
accent
#C66270
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #804A89

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

Preview Lab → · Contrast checker → · Palette generator →

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