#7D4F84#7D4F84

#7D4F84 is a mid, moderate purple. Relative luminance 0.116; OKLCH L 50.0% C 0.098 H 322.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7D4F84
RGBrgb(125, 79, 132)
HSLhsl(292, 25%, 41%)
HSVhsv(292, 40%, 52%)
CMYKcmyk(5.3%, 40.2%, 0%, 48.2%)
CIE-LABlab(40.60, 28.71, -21.96)
CIE-LCHlch(40.60, 36.14, 322.59°)
OKLaboklab(49.96% 0.0773 -0.0601)
OKLCHoklch(49.96% 0.098 322.1)
XYZxyz(15.4178, 11.6184, 23.2558)
Luminance0.1162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4F84 #56844F
analogous
#634F84 #7D4F84 #844F71
triadic
#7D4F84 #847D4F #4F847D
tetradic
#7D4F84 #84634F #56844F #4F7184
square
#7D4F84 #84634F #56844F #4F7184
split-complementary
#7D4F84 #71844F #4F8463
monochromatic
#342137 #59385E #7D4F84 #9E6AA6 #B791BD

Accessibility & contrast

On white

6.32
#7D4F84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7D4F84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4F84
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4F84#FFFFFF#000000##FFFFFF
##7D4F841.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495C86
Deuteranopia (green-blind)
#556282
Tritanopia (blue-blind)
#7E5563
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d4f84;
/* rgb */ color: rgb(125, 79, 132);
/* oklch */ color: oklch(50.0% 0.098 322.1);
Tailwind
colors: {
  custom: {
    50: '#a481a8',
    500: '#7d4f84',
    950: '#000000',
  },
}
SCSS
$custom: #7d4f84;
$custom-light: #a481a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4f84",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 132
  },
  "hsl": {
    "h": 292.075,
    "s": 25.118,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49955,
    "c": 0.09791,
    "h": 322.1
  },
  "luminance": 0.11618
}

Semantic roles & 50–950 ramp

primary
#7D4F84
secondary
#8AAA85
accent
#C26672
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A0F
muted
#7F7C7F

Preview Lab

Preview with #7D4F84

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

Preview Lab → · Contrast checker → · Palette generator →

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