#7D4E82#7D4E82

#7D4E82 is a mid, moderate purple. Relative luminance 0.114; OKLCH L 49.7% C 0.098 H 323.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7D4E82
RGBrgb(125, 78, 130)
HSLhsl(294, 25%, 41%)
HSVhsv(294, 40%, 51%)
CMYKcmyk(3.8%, 40%, 0%, 49%)
CIE-LABlab(40.28, 28.87, -21.24)
CIE-LCHlch(40.28, 35.84, 323.66°)
OKLaboklab(49.68% 0.0784 -0.0581)
OKLCHoklch(49.68% 0.098 323.5)
XYZxyz(15.2107, 11.4210, 22.5180)
Luminance0.1142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4E82 #53824E
analogous
#634E82 #7D4E82 #824E6D
triadic
#7D4E82 #827D4E #4E827D
tetradic
#7D4E82 #82634E #53824E #4E6D82
square
#7D4E82 #82634E #53824E #4E6D82
split-complementary
#7D4E82 #6D824E #4E8263
monochromatic
#332035 #58375C #7D4E82 #9F68A5 #B78FBC

Accessibility & contrast

On white

6.39
#7D4E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7D4E82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4E82
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4E82#FFFFFF#000000##FFFFFF
##7D4E821.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485B84
Deuteranopia (green-blind)
#556180
Tritanopia (blue-blind)
#7F5462
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d4e82;
/* rgb */ color: rgb(125, 78, 130);
/* oklch */ color: oklch(49.7% 0.098 323.5);
Tailwind
colors: {
  custom: {
    50: '#a480a6',
    500: '#7d4e82',
    950: '#000000',
  },
}
SCSS
$custom: #7d4e82;
$custom-light: #a480a6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4e82",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 130
  },
  "hsl": {
    "h": 294.231,
    "s": 25,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49683,
    "c": 0.09756,
    "h": 323.5
  },
  "luminance": 0.1142
}

Semantic roles & 50–950 ramp

primary
#7D4E82
secondary
#87A884
accent
#C1666F
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A0F
muted
#7F7C7F

Preview Lab

Preview with #7D4E82

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

Preview Lab → · Contrast checker → · Palette generator →

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