#7E4E89#7E4E89

#7E4E89 is a mid, moderate purple. Relative luminance 0.117; OKLCH L 50.1% C 0.106 H 320.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7E4E89
RGBrgb(126, 78, 137)
HSLhsl(289, 27%, 42%)
HSVhsv(289, 43%, 54%)
CMYKcmyk(8%, 43.1%, 0%, 46.3%)
CIE-LABlab(40.72, 30.69, -24.81)
CIE-LCHlch(40.72, 39.46, 321.04°)
OKLaboklab(50.15% 0.0813 -0.0683)
OKLCHoklch(50.15% 0.106 320)
XYZxyz(15.8434, 11.6911, 25.0841)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4E89 #59894E
analogous
#614E89 #7E4E89 #894E77
triadic
#7E4E89 #897E4E #4E897E
tetradic
#7E4E89 #89614E #59894E #4E7789
square
#7E4E89 #89614E #59894E #4E7789
split-complementary
#7E4E89 #77894E #4E8961
monochromatic
#36223B #5A3862 #7E4E89 #9E6AAA #B891C0

Accessibility & contrast

On white

6.29
#7E4E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7E4E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4E89
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4E89#FFFFFF#000000##FFFFFF
##7E4E891.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465D8B
Deuteranopia (green-blind)
#526287
Tritanopia (blue-blind)
#7F5565
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7e4e89;
/* rgb */ color: rgb(126, 78, 137);
/* oklch */ color: oklch(50.1% 0.106 320.0);
Tailwind
colors: {
  custom: {
    50: '#a481ab',
    500: '#7e4e89',
    950: '#000000',
  },
}
SCSS
$custom: #7e4e89;
$custom-light: #a481ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4e89",
  "rgb": {
    "r": 126,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 288.814,
    "s": 27.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50145,
    "c": 0.10612,
    "h": 320
  },
  "luminance": 0.11691
}

Semantic roles & 50–950 ramp

primary
#7E4E89
secondary
#8DAD86
accent
#C46476
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #7E4E89

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

Preview Lab → · Contrast checker → · Palette generator →

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