#7A577D#7A577D

#7A577D is a mid, moderate purple. Relative luminance 0.124; OKLCH L 50.8% C 0.072 H 323.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#7A577D
RGBrgb(122, 87, 125)
HSLhsl(295, 18%, 42%)
HSVhsv(295, 30%, 49%)
CMYKcmyk(2.4%, 30.4%, 0%, 51%)
CIE-LABlab(41.90, 21.45, -15.73)
CIE-LCHlch(41.90, 26.60, 323.74°)
OKLaboklab(50.76% 0.0585 -0.0426)
OKLCHoklch(50.76% 0.072 323.9)
XYZxyz(15.1355, 12.4351, 21.0010)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A577D #5A7D57
analogous
#67577D #7A577D #7D576D
triadic
#7A577D #7D7A57 #577D7A
tetradic
#7A577D #7D6757 #5A7D57 #576D7D
square
#7A577D #7D6757 #5A7D57 #576D7D
split-complementary
#7A577D #6D7D57 #577D67
monochromatic
#342535 #573E59 #7A577D #9A739E #B497B7

Accessibility & contrast

On white

6.02
#7A577D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7A577D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A577D
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A577D#FFFFFF#000000##FFFFFF
##7A577D1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54607E
Deuteranopia (green-blind)
#5C647C
Tritanopia (blue-blind)
#7C5B65
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7a577d;
/* rgb */ color: rgb(122, 87, 125);
/* oklch */ color: oklch(50.8% 0.072 323.9);
Tailwind
colors: {
  custom: {
    50: '#a187a2',
    500: '#7a577d',
    950: '#000000',
  },
}
SCSS
$custom: #7a577d;
$custom-light: #a187a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a577d",
  "rgb": {
    "r": 122,
    "g": 87,
    "b": 125
  },
  "hsl": {
    "h": 295.263,
    "s": 17.925,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5076,
    "c": 0.07238,
    "h": 323.9
  },
  "luminance": 0.12435
}

Semantic roles & 50–950 ramp

primary
#7A577D
secondary
#8DA58B
accent
#BB6D73
background
#F9F8FA
surface
#F2EFF3
border
#CCCACD
text
#0F0B0F
muted
#7E7C7F

Preview Lab

Preview with #7A577D

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

Preview Lab → · Contrast checker → · Palette generator →

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