#7E4E79#7E4E79

#7E4E79 is a mid, moderate purple. Relative luminance 0.113; OKLCH L 49.4% C 0.089 H 330.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#7E4E79
RGBrgb(126, 78, 121)
HSLhsl(306, 24%, 40%)
HSVhsv(306, 38%, 49%)
CMYKcmyk(0%, 38.1%, 4%, 50.6%)
CIE-LABlab(40.02, 27.39, -16.10)
CIE-LCHlch(40.02, 31.77, 329.54°)
OKLaboklab(49.39% 0.0773 -0.0436)
OKLCHoklch(49.39% 0.089 330.6)
XYZxyz(14.7796, 11.2656, 19.4814)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4E79 #4E7E53
analogous
#6B4E7E #7E4E79 #7E4E61
triadic
#7E4E79 #797E4E #4E797E
tetradic
#7E4E79 #7E6B4E #4E7E53 #4E617E
square
#7E4E79 #7E6B4E #4E7E53 #4E617E
split-complementary
#7E4E79 #617E4E #4E7E6B
monochromatic
#321F30 #583755 #7E4E79 #A1689B #B98EB4

Accessibility & contrast

On white

6.46
#7E4E79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7E4E79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4E79
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4E79#FFFFFF#000000##FFFFFF
##7E4E791.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5A7B
Deuteranopia (green-blind)
#586177
Tritanopia (blue-blind)
#82515E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7e4e79;
/* rgb */ color: rgb(126, 78, 121);
/* oklch */ color: oklch(49.4% 0.089 330.6);
Tailwind
colors: {
  custom: {
    50: '#a4809f',
    500: '#7e4e79',
    950: '#000000',
  },
}
SCSS
$custom: #7e4e79;
$custom-light: #a4809f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4e79",
  "rgb": {
    "r": 126,
    "g": 78,
    "b": 121
  },
  "hsl": {
    "h": 306.25,
    "s": 23.529,
    "l": 40
  },
  "oklch": {
    "l": 0.49392,
    "c": 0.08869,
    "h": 330.6
  },
  "luminance": 0.11265
}

Semantic roles & 50–950 ramp

primary
#7E4E79
secondary
#82A686
accent
#C07168
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7E4E79

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

Preview Lab → · Contrast checker → · Palette generator →

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