#7B577E#7B577E

#7B577E is a mid, moderate purple. Relative luminance 0.125; OKLCH L 50.9% C 0.074 H 324.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#7B577E
RGBrgb(123, 87, 126)
HSLhsl(295, 18%, 42%)
HSVhsv(295, 31%, 49%)
CMYKcmyk(2.4%, 31%, 0%, 50.6%)
CIE-LABlab(42.05, 22.01, -16.09)
CIE-LCHlch(42.05, 27.27, 323.83°)
OKLaboklab(50.92% 0.0601 -0.0437)
OKLCHoklch(50.92% 0.074 324)
XYZxyz(15.3421, 12.5342, 21.3458)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B577E #5A7E57
analogous
#68577E #7B577E #7E576E
triadic
#7B577E #7E7B57 #577E7B
tetradic
#7B577E #7E6857 #5A7E57 #576E7E
square
#7B577E #7E6857 #5A7E57 #576E7E
split-complementary
#7B577E #6E7E57 #577E68
monochromatic
#342536 #583E5A #7B577E #9B749F #B598B8

Accessibility & contrast

On white

5.99
#7B577E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B577E
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B577E#FFFFFF#000000##FFFFFF
##7B577E1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b577e;
/* rgb */ color: rgb(123, 87, 126);
/* oklch */ color: oklch(50.9% 0.074 324.0);
Tailwind
colors: {
  custom: {
    50: '#a287a3',
    500: '#7b577e',
    950: '#000000',
  },
}
SCSS
$custom: #7b577e;
$custom-light: #a287a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b577e",
  "rgb": {
    "r": 123,
    "g": 87,
    "b": 126
  },
  "hsl": {
    "h": 295.385,
    "s": 18.31,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50916,
    "c": 0.07424,
    "h": 324
  },
  "luminance": 0.12534
}

Semantic roles & 50–950 ramp

primary
#7B577E
secondary
#8DA68B
accent
#BB6D73
background
#FAF8FA
surface
#F3EFF3
border
#CDCACD
text
#0F0B0F
muted
#7F7C7F

Preview Lab

Preview with #7B577E

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

Preview Lab → · Contrast checker → · Palette generator →

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