#7E5D84#7E5D84

#7E5D84 is a mid, moderate purple. Relative luminance 0.139; OKLCH L 52.7% C 0.072 H 321.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7E5D84
RGBrgb(126, 93, 132)
HSLhsl(291, 17%, 44%)
HSVhsv(291, 30%, 52%)
CMYKcmyk(4.5%, 29.5%, 0%, 48.2%)
CIE-LABlab(44.13, 20.75, -16.52)
CIE-LCHlch(44.13, 26.53, 321.48°)
OKLaboklab(52.66% 0.0558 -0.0449)
OKLCHoklch(52.66% 0.072 321.2)
XYZxyz(16.6829, 13.9307, 23.6354)
Luminance0.1393 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5D84 #63845D
analogous
#6B5D84 #7E5D84 #845D77
triadic
#7E5D84 #847E5D #5D847E
tetradic
#7E5D84 #846B5D #63845D #5D7784
square
#7E5D84 #846B5D #63845D #5D7784
split-complementary
#7E5D84 #77845D #5D846B
monochromatic
#392A3C #5C4460 #7E5D84 #9D7CA2 #B7A0BC

Accessibility & contrast

On white

5.55
#7E5D84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7E5D84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5D84
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5D84#FFFFFF#000000##FFFFFF
##7E5D841.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596686
Deuteranopia (green-blind)
#606A83
Tritanopia (blue-blind)
#7F616B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e5d84;
/* rgb */ color: rgb(126, 93, 132);
/* oklch */ color: oklch(52.7% 0.072 321.2);
Tailwind
colors: {
  custom: {
    50: '#a48ba8',
    500: '#7e5d84',
    950: '#000000',
  },
}
SCSS
$custom: #7e5d84;
$custom-light: #a48ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5d84",
  "rgb": {
    "r": 126,
    "g": 93,
    "b": 132
  },
  "hsl": {
    "h": 290.769,
    "s": 17.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52657,
    "c": 0.07158,
    "h": 321.2
  },
  "luminance": 0.1393
}

Semantic roles & 50–950 ramp

primary
#7E5D84
secondary
#96AA93
accent
#BA6E7A
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#0F0C0F
muted
#7F7D7F

Preview Lab

Preview with #7E5D84

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

Preview Lab → · Contrast checker → · Palette generator →

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