#7F577E#7F577E

#7F577E is a mid, moderate purple. Relative luminance 0.128; OKLCH L 51.4% C 0.077 H 327.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7F577E
RGBrgb(127, 87, 126)
HSLhsl(302, 19%, 42%)
HSVhsv(302, 31%, 50%)
CMYKcmyk(0%, 31.5%, 0.8%, 50.2%)
CIE-LABlab(42.51, 23.44, -15.35)
CIE-LCHlch(42.51, 28.01, 326.78°)
OKLaboklab(51.37% 0.0651 -0.0415)
OKLCHoklch(51.37% 0.077 327.5)
XYZxyz(15.9262, 12.8353, 21.3732)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F577E #577F58
analogous
#6C577F #7F577E #7F576A
triadic
#7F577E #7E7F57 #577E7F
tetradic
#7F577E #7F6C57 #577F58 #576A7F
square
#7F577E #7F6C57 #577F58 #576A7F
split-complementary
#7F577E #6A7F57 #577F6C
monochromatic
#362536 #5B3E5A #7F577E #A0749E #B898B8

Accessibility & contrast

On white

5.89
#7F577E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7F577E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F577E
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F577E#FFFFFF#000000##FFFFFF
##7F577E1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556180
Deuteranopia (green-blind)
#5E667D
Tritanopia (blue-blind)
#825A65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7f577e;
/* rgb */ color: rgb(127, 87, 126);
/* oklch */ color: oklch(51.4% 0.077 327.5);
Tailwind
colors: {
  custom: {
    50: '#a587a3',
    500: '#7f577e',
    950: '#000000',
  },
}
SCSS
$custom: #7f577e;
$custom-light: #a587a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f577e",
  "rgb": {
    "r": 127,
    "g": 87,
    "b": 126
  },
  "hsl": {
    "h": 301.5,
    "s": 18.692,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51371,
    "c": 0.07718,
    "h": 327.5
  },
  "luminance": 0.12835
}

Semantic roles & 50–950 ramp

primary
#7F577E
secondary
#8CA68C
accent
#BB6E6C
background
#FAF8FA
surface
#F4EFF3
border
#CECACD
text
#0F0B0F
muted
#7F7C7F

Preview Lab

Preview with #7F577E

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

Preview Lab → · Contrast checker → · Palette generator →

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