#7E577E#7E577E

#7E577E is a mid, moderate purple. Relative luminance 0.128; OKLCH L 51.3% C 0.076 H 326.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7E577E
RGBrgb(126, 87, 126)
HSLhsl(300, 18%, 42%)
HSVhsv(300, 31%, 49%)
CMYKcmyk(0%, 31%, 0%, 50.6%)
CIE-LABlab(42.40, 23.08, -15.54)
CIE-LCHlch(42.40, 27.82, 326.05°)
OKLaboklab(51.26% 0.0638 -0.042)
OKLCHoklch(51.26% 0.076 326.6)
XYZxyz(15.7779, 12.7589, 21.3662)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E577E #577E57
analogous
#6B577E #7E577E #7E576B
triadic
#7E577E #7E7E57 #577E7E
tetradic
#7E577E #7E6B57 #577E57 #576B7E
square
#7E577E #7E6B57 #577E57 #576B7E
split-complementary
#7E577E #6B7E57 #577E6B
monochromatic
#362536 #5A3E5A #7E577E #9F749F #B898B8

Accessibility & contrast

On white

5.91
#7E577E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7E577E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E577E
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E577E#FFFFFF#000000##FFFFFF
##7E577E1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546180
Deuteranopia (green-blind)
#5E667D
Tritanopia (blue-blind)
#805A65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e577e;
/* rgb */ color: rgb(126, 87, 126);
/* oklch */ color: oklch(51.3% 0.076 326.6);
Tailwind
colors: {
  custom: {
    50: '#a487a3',
    500: '#7e577e',
    950: '#000000',
  },
}
SCSS
$custom: #7e577e;
$custom-light: #a487a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e577e",
  "rgb": {
    "r": 126,
    "g": 87,
    "b": 126
  },
  "hsl": {
    "h": 300,
    "s": 18.31,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51256,
    "c": 0.07643,
    "h": 326.6
  },
  "luminance": 0.12758
}

Semantic roles & 50–950 ramp

primary
#7E577E
secondary
#8BA68B
accent
#BB6D6D
background
#FAF8FA
surface
#F4EFF3
border
#CECACD
text
#0F0B0F
muted
#7F7C7F

Preview Lab

Preview with #7E577E

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

Preview Lab → · Contrast checker → · Palette generator →

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