#7D5680#7D5680

#7D5680 is a mid, moderate purple. Relative luminance 0.126; OKLCH L 51.0% C 0.080 H 324.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#7D5680
RGBrgb(125, 86, 128)
HSLhsl(296, 20%, 42%)
HSVhsv(296, 33%, 50%)
CMYKcmyk(2.3%, 32.8%, 0%, 49.8%)
CIE-LABlab(42.12, 23.73, -17.19)
CIE-LCHlch(42.12, 29.31, 324.08°)
OKLaboklab(51.04% 0.0648 -0.0467)
OKLCHoklch(51.04% 0.08 324.2)
XYZxyz(15.6811, 12.5746, 22.0190)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5680 #598056
analogous
#685680 #7D5680 #80566E
triadic
#7D5680 #807D56 #56807D
tetradic
#7D5680 #806856 #598056 #566E80
square
#7D5680 #806856 #598056 #566E80
split-complementary
#7D5680 #6E8056 #568068
monochromatic
#362537 #593D5B #7D5680 #9D73A1 #B797B9

Accessibility & contrast

On white

5.97
#7D5680 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7D5680 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5680
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5680#FFFFFF#000000##FFFFFF
##7D56801.005.973.515.97
#FFFFFF5.971.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526082
Deuteranopia (green-blind)
#5C657F
Tritanopia (blue-blind)
#7F5A65
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7d5680;
/* rgb */ color: rgb(125, 86, 128);
/* oklch */ color: oklch(51.0% 0.080 324.2);
Tailwind
colors: {
  custom: {
    50: '#a386a5',
    500: '#7d5680',
    950: '#000000',
  },
}
SCSS
$custom: #7d5680;
$custom-light: #a386a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5680",
  "rgb": {
    "r": 125,
    "g": 86,
    "b": 128
  },
  "hsl": {
    "h": 295.714,
    "s": 19.626,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51042,
    "c": 0.07989,
    "h": 324.2
  },
  "luminance": 0.12574
}

Semantic roles & 50–950 ramp

primary
#7D5680
secondary
#8DA78B
accent
#BC6C71
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#0F0B0F
muted
#7F7C7F

Preview Lab

Preview with #7D5680

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

Preview Lab → · Contrast checker → · Palette generator →

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