#7A577F#7A577F

#7A577F is a mid, moderate purple. Relative luminance 0.125; OKLCH L 50.8% C 0.075 H 322.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7A577F
RGBrgb(122, 87, 127)
HSLhsl(293, 19%, 42%)
HSVhsv(293, 31%, 50%)
CMYKcmyk(3.9%, 31.5%, 0%, 50.2%)
CIE-LABlab(41.98, 21.87, -16.82)
CIE-LCHlch(41.98, 27.59, 322.43°)
OKLaboklab(50.85% 0.0591 -0.0457)
OKLCHoklch(50.85% 0.075 322.3)
XYZxyz(15.2645, 12.4867, 21.6806)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A577F #5C7F57
analogous
#66577F #7A577F #7F5770
triadic
#7A577F #7F7A57 #577F7A
tetradic
#7A577F #7F6657 #5C7F57 #57707F
square
#7A577F #7F6657 #5C7F57 #57707F
split-complementary
#7A577F #707F57 #577F66
monochromatic
#342536 #573E5B #7A577F #9A74A0 #B498B8

Accessibility & contrast

On white

6.00
#7A577F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7A577F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A577F
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A577F#FFFFFF#000000##FFFFFF
##7A577F1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536181
Deuteranopia (green-blind)
#5B647E
Tritanopia (blue-blind)
#7B5B65
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7a577f;
/* rgb */ color: rgb(122, 87, 127);
/* oklch */ color: oklch(50.8% 0.075 322.3);
Tailwind
colors: {
  custom: {
    50: '#a187a4',
    500: '#7a577f',
    950: '#000000',
  },
}
SCSS
$custom: #7a577f;
$custom-light: #a187a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a577f",
  "rgb": {
    "r": 122,
    "g": 87,
    "b": 127
  },
  "hsl": {
    "h": 292.5,
    "s": 18.692,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50848,
    "c": 0.07472,
    "h": 322.3
  },
  "luminance": 0.12486
}

Semantic roles & 50–950 ramp

primary
#7A577F
secondary
#8FA68C
accent
#BB6C76
background
#F9F8FA
surface
#F2EFF4
border
#CCCACE
text
#0F0B0F
muted
#7E7C7F

Preview Lab

Preview with #7A577F

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

Preview Lab → · Contrast checker → · Palette generator →

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