#7A577B#7A577B

#7A577B is a mid, moderate purple. Relative luminance 0.124; OKLCH L 50.7% C 0.070 H 325.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7A577B
RGBrgb(122, 87, 123)
HSLhsl(298, 17%, 41%)
HSVhsv(298, 29%, 48%)
CMYKcmyk(0.8%, 29.3%, 0%, 51.8%)
CIE-LABlab(41.82, 21.03, -14.63)
CIE-LCHlch(41.82, 25.62, 325.17°)
OKLaboklab(50.67% 0.0579 -0.0396)
OKLCHoklch(50.67% 0.07 325.6)
XYZxyz(15.0090, 12.3845, 20.3349)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A577B #587B57
analogous
#68577B #7A577B #7B576A
triadic
#7A577B #7B7A57 #577B7A
tetradic
#7A577B #7B6857 #587B57 #576A7B
square
#7A577B #7B6857 #587B57 #576A7B
split-complementary
#7A577B #6A7B57 #577B68
monochromatic
#332433 #563E57 #7A577B #9B739C #B597B5

Accessibility & contrast

On white

6.04
#7A577B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7A577B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A577B
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A577B#FFFFFF#000000##FFFFFF
##7A577B1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54607C
Deuteranopia (green-blind)
#5D647A
Tritanopia (blue-blind)
#7C5A64
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7a577b;
/* rgb */ color: rgb(122, 87, 123);
/* oklch */ color: oklch(50.7% 0.070 325.6);
Tailwind
colors: {
  custom: {
    50: '#a187a1',
    500: '#7a577b',
    950: '#000000',
  },
}
SCSS
$custom: #7a577b;
$custom-light: #a187a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a577b",
  "rgb": {
    "r": 122,
    "g": 87,
    "b": 123
  },
  "hsl": {
    "h": 298.333,
    "s": 17.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50674,
    "c": 0.0701,
    "h": 325.6
  },
  "luminance": 0.12384
}

Semantic roles & 50–950 ramp

primary
#7A577B
secondary
#8BA38A
accent
#BA6E70
background
#F9F8F9
surface
#F2EFF2
border
#CCCACC
text
#0F0B0F
muted
#7E7C7E

Preview Lab

Preview with #7A577B

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

Preview Lab → · Contrast checker → · Palette generator →

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