#7F577D#7F577D

#7F577D is a mid, moderate purple. Relative luminance 0.128; OKLCH L 51.3% C 0.076 H 328.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#7F577D
RGBrgb(127, 87, 125)
HSLhsl(303, 19%, 42%)
HSVhsv(303, 31%, 50%)
CMYKcmyk(0%, 31.5%, 1.6%, 50.2%)
CIE-LABlab(42.48, 23.23, -14.80)
CIE-LCHlch(42.48, 27.55, 327.50°)
OKLaboklab(51.33% 0.0648 -0.04)
OKLCHoklch(51.33% 0.076 328.3)
XYZxyz(15.8620, 12.8097, 21.0350)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F577D #577F59
analogous
#6D577F #7F577D #7F5769
triadic
#7F577D #7D7F57 #577D7F
tetradic
#7F577D #7F6D57 #577F59 #57697F
square
#7F577D #7F6D57 #577F59 #57697F
split-complementary
#7F577D #697F57 #577F6D
monochromatic
#362536 #5B3E59 #7F577D #A0749D #B898B7

Accessibility & contrast

On white

5.90
#7F577D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7F577D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F577D
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F577D#FFFFFF#000000##FFFFFF
##7F577D1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55617E
Deuteranopia (green-blind)
#5F667C
Tritanopia (blue-blind)
#825A65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7f577d;
/* rgb */ color: rgb(127, 87, 125);
/* oklch */ color: oklch(51.3% 0.076 328.3);
Tailwind
colors: {
  custom: {
    50: '#a587a2',
    500: '#7f577d',
    950: '#000000',
  },
}
SCSS
$custom: #7f577d;
$custom-light: #a587a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f577d",
  "rgb": {
    "r": 127,
    "g": 87,
    "b": 125
  },
  "hsl": {
    "h": 303,
    "s": 18.692,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51329,
    "c": 0.0761,
    "h": 328.3
  },
  "luminance": 0.12809
}

Semantic roles & 50–950 ramp

primary
#7F577D
secondary
#8CA68D
accent
#BB706C
background
#FAF8FA
surface
#F4EFF3
border
#CECACD
text
#0F0B0F
muted
#7F7C7F

Preview Lab

Preview with #7F577D

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

Preview Lab → · Contrast checker → · Palette generator →

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