#7E4E80#7E4E80

#7E4E80 is a mid, moderate purple. Relative luminance 0.114; OKLCH L 49.7% C 0.096 H 325.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7E4E80
RGBrgb(126, 78, 128)
HSLhsl(298, 24%, 40%)
HSVhsv(298, 39%, 50%)
CMYKcmyk(1.6%, 39.1%, 0%, 49.8%)
CIE-LABlab(40.32, 28.79, -19.95)
CIE-LCHlch(40.32, 35.03, 325.29°)
OKLaboklab(49.71% 0.0792 -0.0544)
OKLCHoklch(49.71% 0.096 325.5)
XYZxyz(15.2245, 11.4435, 21.8248)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4E80 #50804E
analogous
#654E80 #7E4E80 #804E69
triadic
#7E4E80 #807E4E #4E807E
tetradic
#7E4E80 #80654E #50804E #4E6980
square
#7E4E80 #80654E #50804E #4E6980
split-complementary
#7E4E80 #69804E #4E8065
monochromatic
#332034 #59375A #7E4E80 #A168A3 #B88EBA

Accessibility & contrast

On white

6.39
#7E4E80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7E4E80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4E80
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4E80#FFFFFF#000000##FFFFFF
##7E4E801.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5B82
Deuteranopia (green-blind)
#56617E
Tritanopia (blue-blind)
#805361
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7e4e80;
/* rgb */ color: rgb(126, 78, 128);
/* oklch */ color: oklch(49.7% 0.096 325.5);
Tailwind
colors: {
  custom: {
    50: '#a481a5',
    500: '#7e4e80',
    950: '#000000',
  },
}
SCSS
$custom: #7e4e80;
$custom-light: #a481a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4e80",
  "rgb": {
    "r": 126,
    "g": 78,
    "b": 128
  },
  "hsl": {
    "h": 297.6,
    "s": 24.272,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4971,
    "c": 0.09604,
    "h": 325.5
  },
  "luminance": 0.11443
}

Semantic roles & 50–950 ramp

primary
#7E4E80
secondary
#84A783
accent
#C1676B
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A0F
muted
#7F7C7F

Preview Lab

Preview with #7E4E80

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

Preview Lab → · Contrast checker → · Palette generator →

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