#7B577F#7B577F

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

Color values

HEX#7B577F
RGBrgb(123, 87, 127)
HSLhsl(294, 19%, 42%)
HSVhsv(294, 31%, 50%)
CMYKcmyk(3.1%, 31.5%, 0%, 50.2%)
CIE-LABlab(42.09, 22.22, -16.64)
CIE-LCHlch(42.09, 27.76, 323.17°)
OKLaboklab(50.96% 0.0604 -0.0452)
OKLCHoklch(50.96% 0.075 323.2)
XYZxyz(15.4069, 12.5601, 21.6873)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B577F #5B7F57
analogous
#67577F #7B577F #7F576F
triadic
#7B577F #7F7B57 #577F7B
tetradic
#7B577F #7F6757 #5B7F57 #576F7F
square
#7B577F #7F6757 #5B7F57 #576F7F
split-complementary
#7B577F #6F7F57 #577F67
monochromatic
#352536 #583E5B #7B577F #9B74A0 #B598B8

Accessibility & contrast

On white

5.98
#7B577F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7B577F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B577F
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B577F#FFFFFF#000000##FFFFFF
##7B577F1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b577f;
/* rgb */ color: rgb(123, 87, 127);
/* oklch */ color: oklch(51.0% 0.075 323.2);
Tailwind
colors: {
  custom: {
    50: '#a287a4',
    500: '#7b577f',
    950: '#000000',
  },
}
SCSS
$custom: #7b577f;
$custom-light: #a287a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b577f",
  "rgb": {
    "r": 123,
    "g": 87,
    "b": 127
  },
  "hsl": {
    "h": 294,
    "s": 18.692,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5096,
    "c": 0.0754,
    "h": 323.2
  },
  "luminance": 0.1256
}

Semantic roles & 50–950 ramp

primary
#7B577F
secondary
#8EA68C
accent
#BB6C74
background
#FAF8FA
surface
#F3EFF4
border
#CDCACE
text
#0F0B0F
muted
#7F7C7F

Preview Lab

Preview with #7B577F

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

Preview Lab → · Contrast checker → · Palette generator →

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