#7E577A#7E577A

#7E577A is a mid, moderate purple. Relative luminance 0.127; OKLCH L 51.1% C 0.072 H 330.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7E577A
RGBrgb(126, 87, 122)
HSLhsl(306, 18%, 42%)
HSVhsv(306, 31%, 49%)
CMYKcmyk(0%, 31%, 3.2%, 50.6%)
CIE-LABlab(42.24, 22.27, -13.34)
CIE-LCHlch(42.24, 25.96, 329.09°)
OKLaboklab(51.09% 0.0626 -0.0359)
OKLCHoklch(51.09% 0.072 330.1)
XYZxyz(15.5250, 12.6577, 20.0340)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E577A #577E5B
analogous
#6F577E #7E577A #7E5767
triadic
#7E577A #7A7E57 #577A7E
tetradic
#7E577A #7E6F57 #577E5B #57677E
square
#7E577A #7E6F57 #577E5B #57677E
split-complementary
#7E577A #677E57 #577E6F
monochromatic
#362534 #5A3E57 #7E577A #9F749A #B898B4

Accessibility & contrast

On white

5.95
#7E577A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7E577A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E577A
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E577A#FFFFFF#000000##FFFFFF
##7E577A1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56607B
Deuteranopia (green-blind)
#5F6679
Tritanopia (blue-blind)
#815A63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e577a;
/* rgb */ color: rgb(126, 87, 122);
/* oklch */ color: oklch(51.1% 0.072 330.1);
Tailwind
colors: {
  custom: {
    50: '#a487a0',
    500: '#7e577a',
    950: '#000000',
  },
}
SCSS
$custom: #7e577a;
$custom-light: #a487a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e577a",
  "rgb": {
    "r": 126,
    "g": 87,
    "b": 122
  },
  "hsl": {
    "h": 306.154,
    "s": 18.31,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51088,
    "c": 0.07213,
    "h": 330.1
  },
  "luminance": 0.12657
}

Semantic roles & 50–950 ramp

primary
#7E577A
secondary
#8BA68E
accent
#BB756D
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#0F0B0E
muted
#7F7C7E

Preview Lab

Preview with #7E577A

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

Preview Lab → · Contrast checker → · Palette generator →

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