#7E577F#7E577F

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

Color values

HEX#7E577F
RGBrgb(126, 87, 127)
HSLhsl(299, 19%, 42%)
HSVhsv(299, 31%, 50%)
CMYKcmyk(0.8%, 31.5%, 0%, 50.2%)
CIE-LABlab(42.44, 23.29, -16.08)
CIE-LCHlch(42.44, 28.30, 325.37°)
OKLaboklab(51.3% 0.0641 -0.0436)
OKLCHoklch(51.3% 0.078 325.8)
XYZxyz(15.8428, 12.7849, 21.7077)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E577F #587F57
analogous
#6A577F #7E577F #7F576C
triadic
#7E577F #7F7E57 #577F7E
tetradic
#7E577F #7F6A57 #587F57 #576C7F
square
#7E577F #7F6A57 #587F57 #576C7F
split-complementary
#7E577F #6C7F57 #577F6A
monochromatic
#362536 #5A3E5B #7E577F #9E74A0 #B898B8

Accessibility & contrast

On white

5.90
#7E577F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7E577F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E577F
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E577F#FFFFFF#000000##FFFFFF
##7E577F1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546181
Deuteranopia (green-blind)
#5D667E
Tritanopia (blue-blind)
#805B65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e577f;
/* rgb */ color: rgb(126, 87, 127);
/* oklch */ color: oklch(51.3% 0.078 325.8);
Tailwind
colors: {
  custom: {
    50: '#a487a4',
    500: '#7e577f',
    950: '#000000',
  },
}
SCSS
$custom: #7e577f;
$custom-light: #a487a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e577f",
  "rgb": {
    "r": 126,
    "g": 87,
    "b": 127
  },
  "hsl": {
    "h": 298.5,
    "s": 18.692,
    "l": 41.961
  },
  "oklch": {
    "l": 0.513,
    "c": 0.07753,
    "h": 325.8
  },
  "luminance": 0.12784
}

Semantic roles & 50–950 ramp

primary
#7E577F
secondary
#8CA68C
accent
#BB6C6E
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#0F0B0F
muted
#7F7C7F

Preview Lab

Preview with #7E577F

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

Preview Lab → · Contrast checker → · Palette generator →

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