#7D4E84#7D4E84

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

Color values

HEX#7D4E84
RGBrgb(125, 78, 132)
HSLhsl(292, 26%, 41%)
HSVhsv(292, 41%, 52%)
CMYKcmyk(5.3%, 40.9%, 0%, 48.2%)
CIE-LABlab(40.37, 29.29, -22.32)
CIE-LCHlch(40.37, 36.83, 322.69°)
OKLaboklab(49.78% 0.0789 -0.0612)
OKLCHoklch(49.78% 0.1 322.2)
XYZxyz(15.3462, 11.4752, 23.2319)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4E84 #55844E
analogous
#624E84 #7D4E84 #844E70
triadic
#7D4E84 #847D4E #4E847D
tetradic
#7D4E84 #84624E #55844E #4E7084
square
#7D4E84 #84624E #55844E #4E7084
split-complementary
#7D4E84 #70844E #4E8462
monochromatic
#342137 #59375E #7D4E84 #9E69A6 #B78FBD

Accessibility & contrast

On white

6.37
#7D4E84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D4E84
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4E84#FFFFFF#000000##FFFFFF
##7D4E841.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485C86
Deuteranopia (green-blind)
#546182
Tritanopia (blue-blind)
#7E5463
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d4e84;
/* rgb */ color: rgb(125, 78, 132);
/* oklch */ color: oklch(49.8% 0.100 322.2);
Tailwind
colors: {
  custom: {
    50: '#a481a8',
    500: '#7d4e84',
    950: '#000000',
  },
}
SCSS
$custom: #7d4e84;
$custom-light: #a481a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4e84",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 132
  },
  "hsl": {
    "h": 292.222,
    "s": 25.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49779,
    "c": 0.0998,
    "h": 322.2
  },
  "luminance": 0.11475
}

Semantic roles & 50–950 ramp

primary
#7D4E84
secondary
#89AA84
accent
#C26672
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A0F
muted
#7F7C7F

Preview Lab

Preview with #7D4E84

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

Preview Lab → · Contrast checker → · Palette generator →

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