#804F79#804F79

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

Color values

HEX#804F79
RGBrgb(128, 79, 121)
HSLhsl(309, 24%, 41%)
HSVhsv(309, 38%, 50%)
CMYKcmyk(0%, 38.3%, 5.5%, 49.8%)
CIE-LABlab(40.51, 27.51, -15.34)
CIE-LCHlch(40.51, 31.49, 330.86°)
OKLaboklab(49.82% 0.0781 -0.0414)
OKLCHoklch(49.82% 0.088 332.1)
XYZxyz(15.1491, 11.5624, 19.5192)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804F79 #4F8056
analogous
#6E4F80 #804F79 #804F60
triadic
#804F79 #79804F #4F7980
tetradic
#804F79 #806E4F #4F8056 #4F6080
square
#804F79 #806E4F #4F8056 #4F6080
split-complementary
#804F79 #60804F #4F806E
monochromatic
#342031 #5A3855 #804F79 #A3699B #BA8FB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##804F79#FFFFFF#000000##FFFFFF
##804F791.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)
#4E5B7B
Deuteranopia (green-blind)
#5A6277
Tritanopia (blue-blind)
#84525F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #804f79;
/* rgb */ color: rgb(128, 79, 121);
/* oklch */ color: oklch(49.8% 0.088 332.1);
Tailwind
colors: {
  custom: {
    50: '#a6819f',
    500: '#804f79',
    950: '#000000',
  },
}
SCSS
$custom: #804f79;
$custom-light: #a6819f;
$custom-dark: #000000;
JSON
{
  "hex": "#804f79",
  "rgb": {
    "r": 128,
    "g": 79,
    "b": 121
  },
  "hsl": {
    "h": 308.571,
    "s": 23.671,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49816,
    "c": 0.08839,
    "h": 332.1
  },
  "luminance": 0.11562
}

Semantic roles & 50–950 ramp

primary
#804F79
secondary
#84A789
accent
#C07468
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #804F79

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

Preview Lab → · Contrast checker → · Palette generator →

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