#7F577A#7F577A

#7F577A is a mid, moderate purple. Relative luminance 0.127; OKLCH L 51.2% C 0.073 H 331.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7F577A
RGBrgb(127, 87, 122)
HSLhsl(308, 19%, 42%)
HSVhsv(308, 31%, 50%)
CMYKcmyk(0%, 31.5%, 3.9%, 50.2%)
CIE-LABlab(42.36, 22.63, -13.15)
CIE-LCHlch(42.36, 26.17, 329.85°)
OKLaboklab(51.2% 0.0638 -0.0354)
OKLCHoklch(51.2% 0.073 331)
XYZxyz(15.6732, 12.7342, 20.0409)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F577A #577F5C
analogous
#70577F #7F577A #7F5766
triadic
#7F577A #7A7F57 #577A7F
tetradic
#7F577A #7F7057 #577F5C #57667F
square
#7F577A #7F7057 #577F5C #57667F
split-complementary
#7F577A #667F57 #577F70
monochromatic
#362534 #5B3E57 #7F577A #A0749A #B898B4

Accessibility & contrast

On white

5.92
#7F577A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7F577A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F577A
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F577A#FFFFFF#000000##FFFFFF
##7F577A1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56617B
Deuteranopia (green-blind)
#5F6679
Tritanopia (blue-blind)
#825963
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7f577a;
/* rgb */ color: rgb(127, 87, 122);
/* oklch */ color: oklch(51.2% 0.073 331.0);
Tailwind
colors: {
  custom: {
    50: '#a587a0',
    500: '#7f577a',
    950: '#000000',
  },
}
SCSS
$custom: #7f577a;
$custom-light: #a587a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f577a",
  "rgb": {
    "r": 127,
    "g": 87,
    "b": 122
  },
  "hsl": {
    "h": 307.5,
    "s": 18.692,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51203,
    "c": 0.07297,
    "h": 331
  },
  "luminance": 0.12734
}

Semantic roles & 50–950 ramp

primary
#7F577A
secondary
#8CA68F
accent
#BB766C
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#0F0B0E
muted
#7F7C7E

Preview Lab

Preview with #7F577A

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

Preview Lab → · Contrast checker → · Palette generator →

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