#7F577B#7F577B

#7F577B is a mid, moderate purple. Relative luminance 0.128; OKLCH L 51.2% C 0.074 H 330.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7F577B
RGBrgb(127, 87, 123)
HSLhsl(306, 19%, 42%)
HSVhsv(306, 31%, 50%)
CMYKcmyk(0%, 31.5%, 3.1%, 50.2%)
CIE-LABlab(42.40, 22.83, -13.70)
CIE-LCHlch(42.40, 26.63, 329.04°)
OKLaboklab(51.24% 0.0641 -0.0369)
OKLCHoklch(51.24% 0.074 330.1)
XYZxyz(15.7355, 12.7591, 20.3689)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F577B #577F5B
analogous
#6F577F #7F577B #7F5767
triadic
#7F577B #7B7F57 #577B7F
tetradic
#7F577B #7F6F57 #577F5B #57677F
square
#7F577B #7F6F57 #577F5B #57677F
split-complementary
#7F577B #677F57 #577F6F
monochromatic
#362535 #5B3E58 #7F577B #A0749B #B898B5

Accessibility & contrast

On white

5.91
#7F577B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7F577B
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F577B#FFFFFF#000000##FFFFFF
##7F577B1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56617C
Deuteranopia (green-blind)
#5F667A
Tritanopia (blue-blind)
#825A64
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7f577b;
/* rgb */ color: rgb(127, 87, 123);
/* oklch */ color: oklch(51.2% 0.074 330.1);
Tailwind
colors: {
  custom: {
    50: '#a587a1',
    500: '#7f577b',
    950: '#000000',
  },
}
SCSS
$custom: #7f577b;
$custom-light: #a587a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f577b",
  "rgb": {
    "r": 127,
    "g": 87,
    "b": 123
  },
  "hsl": {
    "h": 306,
    "s": 18.692,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51244,
    "c": 0.074,
    "h": 330.1
  },
  "luminance": 0.12758
}

Semantic roles & 50–950 ramp

primary
#7F577B
secondary
#8CA68E
accent
#BB746C
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#0F0B0F
muted
#7F7C7E

Preview Lab

Preview with #7F577B

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

Preview Lab → · Contrast checker → · Palette generator →

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