#7E577B#7E577B

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

Color values

HEX#7E577B
RGBrgb(126, 87, 123)
HSLhsl(305, 18%, 42%)
HSVhsv(305, 31%, 49%)
CMYKcmyk(0%, 31%, 2.4%, 50.6%)
CIE-LABlab(42.28, 22.47, -13.89)
CIE-LCHlch(42.28, 26.42, 328.28°)
OKLaboklab(51.13% 0.0629 -0.0374)
OKLCHoklch(51.13% 0.073 329.2)
XYZxyz(15.5872, 12.6826, 20.3620)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E577B #577E5A
analogous
#6E577E #7E577B #7E5768
triadic
#7E577B #7B7E57 #577B7E
tetradic
#7E577B #7E6E57 #577E5A #57687E
square
#7E577B #7E6E57 #577E5A #57687E
split-complementary
#7E577B #687E57 #577E6E
monochromatic
#362534 #5A3E58 #7E577B #9F749B #B898B5

Accessibility & contrast

On white

5.94
#7E577B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7E577B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E577B
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E577B#FFFFFF#000000##FFFFFF
##7E577B1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55617C
Deuteranopia (green-blind)
#5F667A
Tritanopia (blue-blind)
#815A64
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e577b;
/* rgb */ color: rgb(126, 87, 123);
/* oklch */ color: oklch(51.1% 0.073 329.2);
Tailwind
colors: {
  custom: {
    50: '#a487a1',
    500: '#7e577b',
    950: '#000000',
  },
}
SCSS
$custom: #7e577b;
$custom-light: #a487a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e577b",
  "rgb": {
    "r": 126,
    "g": 87,
    "b": 123
  },
  "hsl": {
    "h": 304.615,
    "s": 18.31,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51129,
    "c": 0.07318,
    "h": 329.2
  },
  "luminance": 0.12682
}

Semantic roles & 50–950 ramp

primary
#7E577B
secondary
#8BA68D
accent
#BB736D
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#0F0B0F
muted
#7F7C7E

Preview Lab

Preview with #7E577B

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

Preview Lab → · Contrast checker → · Palette generator →

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