#7A4F79#7A4F79

#7A4F79 is a mid, moderate purple. Relative luminance 0.111; OKLCH L 49.1% C 0.084 H 327.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7A4F79
RGBrgb(122, 79, 121)
HSLhsl(301, 21%, 39%)
HSVhsv(301, 35%, 48%)
CMYKcmyk(0%, 35.2%, 0.8%, 52.2%)
CIE-LABlab(39.77, 25.39, -16.54)
CIE-LCHlch(39.77, 30.31, 326.91°)
OKLaboklab(49.09% 0.0706 -0.0449)
OKLCHoklch(49.09% 0.084 327.6)
XYZxyz(14.2729, 11.1106, 19.4782)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4F79 #4F7A50
analogous
#664F7A #7A4F79 #7A4F64
triadic
#7A4F79 #797A4F #4F797A
tetradic
#7A4F79 #7A664F #4F7A50 #4F647A
square
#7A4F79 #7A664F #4F7A50 #4F647A
split-complementary
#7A4F79 #647A4F #4F7A66
monochromatic
#301F2F #553754 #7A4F79 #9E699C #B68EB5

Accessibility & contrast

On white

6.52
#7A4F79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7A4F79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4F79
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4F79#FFFFFF#000000##FFFFFF
##7A4F791.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5A7B
Deuteranopia (green-blind)
#576078
Tritanopia (blue-blind)
#7D535E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a4f79;
/* rgb */ color: rgb(122, 79, 121);
/* oklch */ color: oklch(49.1% 0.084 327.6);
Tailwind
colors: {
  custom: {
    50: '#a1819f',
    500: '#7a4f79',
    950: '#000000',
  },
}
SCSS
$custom: #7a4f79;
$custom-light: #a1819f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4f79",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 121
  },
  "hsl": {
    "h": 301.395,
    "s": 21.393,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49087,
    "c": 0.08363,
    "h": 327.6
  },
  "luminance": 0.1111
}

Semantic roles & 50–950 ramp

primary
#7A4F79
secondary
#82A383
accent
#BE6C6A
background
#FAF7F9
surface
#F3EEF2
border
#CDC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7A4F79

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

Preview Lab → · Contrast checker → · Palette generator →

#7A4F79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva