#7D587B#7D587B

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

Color values

HEX#7D587B
RGBrgb(125, 88, 123)
HSLhsl(303, 17%, 42%)
HSVhsv(303, 30%, 49%)
CMYKcmyk(0%, 29.6%, 1.6%, 51%)
CIE-LABlab(42.41, 21.51, -13.69)
CIE-LCHlch(42.41, 25.50, 327.52°)
OKLaboklab(51.21% 0.06 -0.0369)
OKLCHoklch(51.21% 0.07 328.4)
XYZxyz(15.5220, 12.7700, 20.3823)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D587B #587D5A
analogous
#6D587D #7D587B #7D5869
triadic
#7D587B #7B7D58 #587B7D
tetradic
#7D587B #7D6D58 #587D5A #58697D
square
#7D587B #7D6D58 #587D5A #58697D
split-complementary
#7D587B #697D58 #587D6D
monochromatic
#352534 #593F58 #7D587B #9E759B #B799B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D587B#FFFFFF#000000##FFFFFF
##7D587B1.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)
#805B64
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7d587b;
/* rgb */ color: rgb(125, 88, 123);
/* oklch */ color: oklch(51.2% 0.070 328.4);
Tailwind
colors: {
  custom: {
    50: '#a387a1',
    500: '#7d587b',
    950: '#000000',
  },
}
SCSS
$custom: #7d587b;
$custom-light: #a387a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d587b",
  "rgb": {
    "r": 125,
    "g": 88,
    "b": 123
  },
  "hsl": {
    "h": 303.243,
    "s": 17.371,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51205,
    "c": 0.07042,
    "h": 328.4
  },
  "luminance": 0.12769
}

Semantic roles & 50–950 ramp

primary
#7D587B
secondary
#8CA58D
accent
#BA726E
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#0F0B0F
muted
#7F7C7E

Preview Lab

Preview with #7D587B

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

Preview Lab → · Contrast checker → · Palette generator →

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