#7A4E79#7A4E79

#7A4E79 is a mid, moderate purple. Relative luminance 0.110; OKLCH L 48.9% C 0.086 H 327.6°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7A4E79
RGBrgb(122, 78, 121)
HSLhsl(301, 22%, 39%)
HSVhsv(301, 36%, 48%)
CMYKcmyk(0%, 36.1%, 0.8%, 52.2%)
CIE-LABlab(39.53, 25.98, -16.91)
CIE-LCHlch(39.53, 31.00, 326.94°)
OKLaboklab(48.91% 0.0722 -0.0459)
OKLCHoklch(48.91% 0.086 327.6)
XYZxyz(14.2013, 10.9674, 19.4543)
Luminance0.1097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4E79 #4E7A4F
analogous
#654E7A #7A4E79 #7A4E63
triadic
#7A4E79 #797A4E #4E797A
tetradic
#7A4E79 #7A654E #4E7A4F #4E637A
square
#7A4E79 #7A654E #4E7A4F #4E637A
split-complementary
#7A4E79 #637A4E #4E7A65
monochromatic
#2F1E2F #553654 #7A4E79 #9E679D #B68DB5

Accessibility & contrast

On white

6.58
#7A4E79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7A4E79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4E79
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4E79#FFFFFF#000000##FFFFFF
##7A4E791.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5A7B
Deuteranopia (green-blind)
#565F78
Tritanopia (blue-blind)
#7D525E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7a4e79;
/* rgb */ color: rgb(122, 78, 121);
/* oklch */ color: oklch(48.9% 0.086 327.6);
Tailwind
colors: {
  custom: {
    50: '#a1809f',
    500: '#7a4e79',
    950: '#000000',
  },
}
SCSS
$custom: #7a4e79;
$custom-light: #a1809f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4e79",
  "rgb": {
    "r": 122,
    "g": 78,
    "b": 121
  },
  "hsl": {
    "h": 301.364,
    "s": 22,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48905,
    "c": 0.08557,
    "h": 327.6
  },
  "luminance": 0.10967
}

Semantic roles & 50–950 ramp

primary
#7A4E79
secondary
#81A382
accent
#BF6B69
background
#FAF7F9
surface
#F3EEF2
border
#CDC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7A4E79

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

Preview Lab → · Contrast checker → · Palette generator →

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