#7D4E80#7D4E80

#7D4E80 is a mid, moderate purple. Relative luminance 0.114; OKLCH L 49.6% C 0.095 H 324.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7D4E80
RGBrgb(125, 78, 128)
HSLhsl(296, 24%, 40%)
HSVhsv(296, 39%, 50%)
CMYKcmyk(2.3%, 39.1%, 0%, 49.8%)
CIE-LABlab(40.19, 28.45, -20.15)
CIE-LCHlch(40.19, 34.87, 324.70°)
OKLaboklab(49.59% 0.0779 -0.055)
OKLCHoklch(49.59% 0.095 324.8)
XYZxyz(15.0777, 11.3679, 21.8179)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4E80 #51804E
analogous
#644E80 #7D4E80 #804E6A
triadic
#7D4E80 #807D4E #4E807D
tetradic
#7D4E80 #80644E #51804E #4E6A80
square
#7D4E80 #80644E #51804E #4E6A80
split-complementary
#7D4E80 #6A804E #4E8064
monochromatic
#332034 #58375A #7D4E80 #A068A3 #B88EBA

Accessibility & contrast

On white

6.42
#7D4E80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7D4E80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4E80
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4E80#FFFFFF#000000##FFFFFF
##7D4E801.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495B82
Deuteranopia (green-blind)
#55617E
Tritanopia (blue-blind)
#7F5361
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d4e80;
/* rgb */ color: rgb(125, 78, 128);
/* oklch */ color: oklch(49.6% 0.095 324.8);
Tailwind
colors: {
  custom: {
    50: '#a380a5',
    500: '#7d4e80',
    950: '#000000',
  },
}
SCSS
$custom: #7d4e80;
$custom-light: #a380a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4e80",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 128
  },
  "hsl": {
    "h": 296.4,
    "s": 24.272,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49589,
    "c": 0.09535,
    "h": 324.8
  },
  "luminance": 0.11367
}

Semantic roles & 50–950 ramp

primary
#7D4E80
secondary
#85A783
accent
#C1676C
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A0F
muted
#7F7C7F

Preview Lab

Preview with #7D4E80

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

Preview Lab → · Contrast checker → · Palette generator →

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