#804D84#804D84

#804D84 is a mid, moderate purple. Relative luminance 0.116; OKLCH L 50.0% C 0.104 H 324.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#804D84
RGBrgb(128, 77, 132)
HSLhsl(296, 26%, 41%)
HSVhsv(296, 42%, 52%)
CMYKcmyk(3%, 41.7%, 0%, 48.2%)
CIE-LABlab(40.51, 30.87, -22.07)
CIE-LCHlch(40.51, 37.94, 324.44°)
OKLaboklab(49.97% 0.0842 -0.0604)
OKLCHoklch(49.97% 0.104 324.4)
XYZxyz(15.7204, 11.5635, 23.2292)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804D84 #51844D
analogous
#644D84 #804D84 #844D6C
triadic
#804D84 #84804D #4D8480
tetradic
#804D84 #84644D #51844D #4D6C84
square
#804D84 #84644D #51844D #4D6C84
split-complementary
#804D84 #6C844D #4D8464
monochromatic
#352037 #5B365D #804D84 #A268A7 #BA8EBD

Accessibility & contrast

On white

6.34
#804D84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#804D84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804D84
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804D84#FFFFFF#000000##FFFFFF
##804D841.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475C86
Deuteranopia (green-blind)
#556282
Tritanopia (blue-blind)
#825362
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #804d84;
/* rgb */ color: rgb(128, 77, 132);
/* oklch */ color: oklch(50.0% 0.104 324.4);
Tailwind
colors: {
  custom: {
    50: '#a680a8',
    500: '#804d84',
    950: '#000000',
  },
}
SCSS
$custom: #804d84;
$custom-light: #a680a8;
$custom-dark: #000000;
JSON
{
  "hex": "#804d84",
  "rgb": {
    "r": 128,
    "g": 77,
    "b": 132
  },
  "hsl": {
    "h": 295.636,
    "s": 26.316,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4997,
    "c": 0.10364,
    "h": 324.4
  },
  "luminance": 0.11563
}

Semantic roles & 50–950 ramp

primary
#804D84
secondary
#86AA83
accent
#C3656C
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A0F
muted
#7F7C7F

Preview Lab

Preview with #804D84

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

Preview Lab → · Contrast checker → · Palette generator →

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