#7D577B#7D577B

#7D577B is a mid, moderate purple. Relative luminance 0.126; OKLCH L 51.0% C 0.072 H 328.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7D577B
RGBrgb(125, 87, 123)
HSLhsl(303, 18%, 42%)
HSVhsv(303, 30%, 49%)
CMYKcmyk(0%, 30.4%, 1.6%, 51%)
CIE-LABlab(42.16, 22.11, -14.07)
CIE-LCHlch(42.16, 26.21, 327.52°)
OKLaboklab(51.02% 0.0616 -0.038)
OKLCHoklch(51.02% 0.072 328.4)
XYZxyz(15.4405, 12.6070, 20.3551)
Luminance0.1261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D577B #577D59
analogous
#6C577D #7D577B #7D5768
triadic
#7D577B #7B7D57 #577B7D
tetradic
#7D577B #7D6C57 #577D59 #57687D
square
#7D577B #7D6C57 #577D59 #57687D
split-complementary
#7D577B #687D57 #577D6C
monochromatic
#352534 #593E57 #7D577B #9E739C #B797B5

Accessibility & contrast

On white

5.96
#7D577B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7D577B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D577B
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D577B#FFFFFF#000000##FFFFFF
##7D577B1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55607C
Deuteranopia (green-blind)
#5E657A
Tritanopia (blue-blind)
#805A64
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7d577b;
/* rgb */ color: rgb(125, 87, 123);
/* oklch */ color: oklch(51.0% 0.072 328.4);
Tailwind
colors: {
  custom: {
    50: '#a387a1',
    500: '#7d577b',
    950: '#000000',
  },
}
SCSS
$custom: #7d577b;
$custom-light: #a387a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d577b",
  "rgb": {
    "r": 125,
    "g": 87,
    "b": 123
  },
  "hsl": {
    "h": 303.158,
    "s": 17.925,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51015,
    "c": 0.07239,
    "h": 328.4
  },
  "luminance": 0.12606
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D577B

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

Preview Lab → · Contrast checker → · Palette generator →

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