#7E4D7A#7E4D7A

#7E4D7A is a mid, moderate purple. Relative luminance 0.111; OKLCH L 49.3% C 0.092 H 329.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#7E4D7A
RGBrgb(126, 77, 122)
HSLhsl(305, 24%, 40%)
HSVhsv(305, 39%, 49%)
CMYKcmyk(0%, 38.9%, 3.2%, 50.6%)
CIE-LABlab(39.83, 28.17, -17.02)
CIE-LCHlch(39.83, 32.91, 328.86°)
OKLaboklab(49.26% 0.0792 -0.0461)
OKLCHoklch(49.26% 0.092 329.8)
XYZxyz(14.7707, 11.1492, 19.7826)
Luminance0.1115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4D7A #4D7E51
analogous
#6A4D7E #7E4D7A #7E4D62
triadic
#7E4D7A #7A7E4D #4D7A7E
tetradic
#7E4D7A #7E6A4D #4D7E51 #4D627E
square
#7E4D7A #7E6A4D #4D7E51 #4D627E
split-complementary
#7E4D7A #627E4D #4D7E6A
monochromatic
#321F30 #583655 #7E4D7A #A2669D #B98CB5

Accessibility & contrast

On white

6.50
#7E4D7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7E4D7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4D7A
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4D7A#FFFFFF#000000##FFFFFF
##7E4D7A1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e4d7a;
/* rgb */ color: rgb(126, 77, 122);
/* oklch */ color: oklch(49.3% 0.092 329.8);
Tailwind
colors: {
  custom: {
    50: '#a480a0',
    500: '#7e4d7a',
    950: '#000000',
  },
}
SCSS
$custom: #7e4d7a;
$custom-light: #a480a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4d7a",
  "rgb": {
    "r": 126,
    "g": 77,
    "b": 122
  },
  "hsl": {
    "h": 304.898,
    "s": 24.138,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49259,
    "c": 0.09164,
    "h": 329.8
  },
  "luminance": 0.11149
}

Semantic roles & 50–950 ramp

primary
#7E4D7A
secondary
#81A684
accent
#C16F67
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7E4D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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