#7E577D#7E577D

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

Color values

HEX#7E577D
RGBrgb(126, 87, 125)
HSLhsl(302, 18%, 42%)
HSVhsv(302, 31%, 49%)
CMYKcmyk(0%, 31%, 0.8%, 50.6%)
CIE-LABlab(42.36, 22.88, -14.99)
CIE-LCHlch(42.36, 27.35, 326.77°)
OKLaboklab(51.21% 0.0635 -0.0405)
OKLCHoklch(51.21% 0.075 327.5)
XYZxyz(15.7137, 12.7332, 21.0281)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E577D #577E58
analogous
#6C577E #7E577D #7E576A
triadic
#7E577D #7D7E57 #577D7E
tetradic
#7E577D #7E6C57 #577E58 #576A7E
square
#7E577D #7E6C57 #577E58 #576A7E
split-complementary
#7E577D #6A7E57 #577E6C
monochromatic
#362535 #5A3E59 #7E577D #9F749E #B898B7

Accessibility & contrast

On white

5.92
#7E577D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E577D
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E577D#FFFFFF#000000##FFFFFF
##7E577D1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55617E
Deuteranopia (green-blind)
#5E667C
Tritanopia (blue-blind)
#815A65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e577d;
/* rgb */ color: rgb(126, 87, 125);
/* oklch */ color: oklch(51.2% 0.075 327.5);
Tailwind
colors: {
  custom: {
    50: '#a487a2',
    500: '#7e577d',
    950: '#000000',
  },
}
SCSS
$custom: #7e577d;
$custom-light: #a487a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e577d",
  "rgb": {
    "r": 126,
    "g": 87,
    "b": 125
  },
  "hsl": {
    "h": 301.538,
    "s": 18.31,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51214,
    "c": 0.07533,
    "h": 327.5
  },
  "luminance": 0.12733
}

Semantic roles & 50–950 ramp

primary
#7E577D
secondary
#8BA68C
accent
#BB6F6D
background
#FAF8FA
surface
#F4EFF3
border
#CECACD
text
#0F0B0F
muted
#7F7C7F

Preview Lab

Preview with #7E577D

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

Preview Lab → · Contrast checker → · Palette generator →

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