#7E577C#7E577C

#7E577C is a mid, moderate purple. Relative luminance 0.127; OKLCH L 51.2% C 0.074 H 328.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#7E577C
RGBrgb(126, 87, 124)
HSLhsl(303, 18%, 42%)
HSVhsv(303, 31%, 49%)
CMYKcmyk(0%, 31%, 1.6%, 50.6%)
CIE-LABlab(42.32, 22.67, -14.44)
CIE-LCHlch(42.32, 26.88, 327.51°)
OKLaboklab(51.17% 0.0632 -0.039)
OKLCHoklch(51.17% 0.074 328.3)
XYZxyz(15.6502, 12.7078, 20.6933)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E577C #577E59
analogous
#6D577E #7E577C #7E5769
triadic
#7E577C #7C7E57 #577C7E
tetradic
#7E577C #7E6D57 #577E59 #57697E
square
#7E577C #7E6D57 #577E59 #57697E
split-complementary
#7E577C #697E57 #577E6D
monochromatic
#362535 #5A3E58 #7E577C #9F749C #B898B6

Accessibility & contrast

On white

5.93
#7E577C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E577C
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E577C#FFFFFF#000000##FFFFFF
##7E577C1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e577c;
/* rgb */ color: rgb(126, 87, 124);
/* oklch */ color: oklch(51.2% 0.074 328.3);
Tailwind
colors: {
  custom: {
    50: '#a487a2',
    500: '#7e577c',
    950: '#000000',
  },
}
SCSS
$custom: #7e577c;
$custom-light: #a487a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e577c",
  "rgb": {
    "r": 126,
    "g": 87,
    "b": 124
  },
  "hsl": {
    "h": 303.077,
    "s": 18.31,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51171,
    "c": 0.07425,
    "h": 328.3
  },
  "luminance": 0.12707
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E577C

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

Preview Lab → · Contrast checker → · Palette generator →

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