#7D5780#7D5780

#7D5780 is a mid, moderate purple. Relative luminance 0.127; OKLCH L 51.2% C 0.078 H 324.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7D5780
RGBrgb(125, 87, 128)
HSLhsl(296, 19%, 42%)
HSVhsv(296, 32%, 50%)
CMYKcmyk(2.3%, 32%, 0%, 49.8%)
CIE-LABlab(42.36, 23.14, -16.82)
CIE-LCHlch(42.36, 28.60, 323.99°)
OKLaboklab(51.23% 0.0632 -0.0457)
OKLCHoklch(51.23% 0.078 324.1)
XYZxyz(15.7615, 12.7354, 22.0458)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5780 #5A8057
analogous
#695780 #7D5780 #80576F
triadic
#7D5780 #807D57 #57807D
tetradic
#7D5780 #806957 #5A8057 #576F80
square
#7D5780 #806957 #5A8057 #576F80
split-complementary
#7D5780 #6F8057 #578069
monochromatic
#362537 #593E5C #7D5780 #9D74A0 #B798B9

Accessibility & contrast

On white

5.92
#7D5780 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D5780
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5780#FFFFFF#000000##FFFFFF
##7D57801.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536182
Deuteranopia (green-blind)
#5C667F
Tritanopia (blue-blind)
#7F5B66
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7d5780;
/* rgb */ color: rgb(125, 87, 128);
/* oklch */ color: oklch(51.2% 0.078 324.1);
Tailwind
colors: {
  custom: {
    50: '#a387a5',
    500: '#7d5780',
    950: '#000000',
  },
}
SCSS
$custom: #7d5780;
$custom-light: #a387a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5780",
  "rgb": {
    "r": 125,
    "g": 87,
    "b": 128
  },
  "hsl": {
    "h": 295.61,
    "s": 19.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51229,
    "c": 0.07794,
    "h": 324.1
  },
  "luminance": 0.12735
}

Semantic roles & 50–950 ramp

primary
#7D5780
secondary
#8EA78C
accent
#BC6C72
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#0F0B0F
muted
#7F7C7F

Preview Lab

Preview with #7D5780

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

Preview Lab → · Contrast checker → · Palette generator →

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