#7D4F80#7D4F80

#7D4F80 is a mid, moderate purple. Relative luminance 0.115; OKLCH L 49.8% C 0.093 H 324.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7D4F80
RGBrgb(125, 79, 128)
HSLhsl(296, 24%, 41%)
HSVhsv(296, 38%, 50%)
CMYKcmyk(2.3%, 38.3%, 0%, 49.8%)
CIE-LABlab(40.43, 27.87, -19.79)
CIE-LCHlch(40.43, 34.18, 324.63°)
OKLaboklab(49.77% 0.0763 -0.054)
OKLCHoklch(49.77% 0.093 324.7)
XYZxyz(15.1493, 11.5110, 21.8417)
Luminance0.1151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4F80 #52804F
analogous
#644F80 #7D4F80 #804F6A
triadic
#7D4F80 #807D4F #4F807D
tetradic
#7D4F80 #80644F #52804F #4F6A80
square
#7D4F80 #80644F #52804F #4F6A80
split-complementary
#7D4F80 #6A804F #4F8064
monochromatic
#332034 #58385A #7D4F80 #9F69A3 #B78FBA

Accessibility & contrast

On white

6.36
#7D4F80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7D4F80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4F80
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4F80#FFFFFF#000000##FFFFFF
##7D4F801.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5C82
Deuteranopia (green-blind)
#56617E
Tritanopia (blue-blind)
#7F5461
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d4f80;
/* rgb */ color: rgb(125, 79, 128);
/* oklch */ color: oklch(49.8% 0.093 324.7);
Tailwind
colors: {
  custom: {
    50: '#a381a5',
    500: '#7d4f80',
    950: '#000000',
  },
}
SCSS
$custom: #7d4f80;
$custom-light: #a381a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4f80",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 128
  },
  "hsl": {
    "h": 296.327,
    "s": 23.671,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49766,
    "c": 0.09343,
    "h": 324.7
  },
  "luminance": 0.1151
}

Semantic roles & 50–950 ramp

primary
#7D4F80
secondary
#86A784
accent
#C0686D
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A0F
muted
#7F7C7F

Preview Lab

Preview with #7D4F80

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

Preview Lab → · Contrast checker → · Palette generator →

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