#7E4E77#7E4E77

#7E4E77 is a mid, moderate purple. Relative luminance 0.112; OKLCH L 49.3% C 0.087 H 332.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7E4E77
RGBrgb(126, 78, 119)
HSLhsl(309, 24%, 40%)
HSVhsv(309, 38%, 49%)
CMYKcmyk(0%, 38.1%, 5.6%, 50.6%)
CIE-LABlab(39.94, 27.00, -15.00)
CIE-LCHlch(39.94, 30.88, 330.95°)
OKLaboklab(49.31% 0.0767 -0.0405)
OKLCHoklch(49.31% 0.087 332.2)
XYZxyz(14.6582, 11.2170, 18.8422)
Luminance0.1122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4E77 #4E7E55
analogous
#6D4E7E #7E4E77 #7E4E5F
triadic
#7E4E77 #777E4E #4E777E
tetradic
#7E4E77 #7E6D4E #4E7E55 #4E5F7E
square
#7E4E77 #7E6D4E #4E7E55 #4E5F7E
split-complementary
#7E4E77 #5F7E4E #4E7E6D
monochromatic
#321F30 #583753 #7E4E77 #A16899 #B98EB2

Accessibility & contrast

On white

6.48
#7E4E77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7E4E77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4E77
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4E77#FFFFFF#000000##FFFFFF
##7E4E771.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5A79
Deuteranopia (green-blind)
#596176
Tritanopia (blue-blind)
#82515D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7e4e77;
/* rgb */ color: rgb(126, 78, 119);
/* oklch */ color: oklch(49.3% 0.087 332.2);
Tailwind
colors: {
  custom: {
    50: '#a4809e',
    500: '#7e4e77',
    950: '#000000',
  },
}
SCSS
$custom: #7e4e77;
$custom-light: #a4809e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4e77",
  "rgb": {
    "r": 126,
    "g": 78,
    "b": 119
  },
  "hsl": {
    "h": 308.75,
    "s": 23.529,
    "l": 40
  },
  "oklch": {
    "l": 0.49305,
    "c": 0.0867,
    "h": 332.2
  },
  "luminance": 0.11216
}

Semantic roles & 50–950 ramp

primary
#7E4E77
secondary
#82A687
accent
#C07568
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7E4E77

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

Preview Lab → · Contrast checker → · Palette generator →

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