#7D4E8A#7D4E8A

#7D4E8A is a mid, moderate purple. Relative luminance 0.116; OKLCH L 50.1% C 0.107 H 318.7°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#7D4E8A
RGBrgb(125, 78, 138)
HSLhsl(287, 28%, 42%)
HSVhsv(287, 43%, 54%)
CMYKcmyk(9.4%, 43.5%, 0%, 45.9%)
CIE-LABlab(40.65, 30.58, -25.55)
CIE-LCHlch(40.65, 39.85, 320.13°)
OKLaboklab(50.08% 0.0802 -0.0704)
OKLCHoklch(50.08% 0.107 318.7)
XYZxyz(15.7687, 11.6442, 25.4567)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4E8A #5B8A4E
analogous
#5F4E8A #7D4E8A #8A4E79
triadic
#7D4E8A #8A7D4E #4E8A7D
tetradic
#7D4E8A #8A5F4E #5B8A4E #4E798A
square
#7D4E8A #8A5F4E #5B8A4E #4E798A
split-complementary
#7D4E8A #798A4E #4E8A5F
monochromatic
#36223C #5A3863 #7D4E8A #9D6AAB #B791C1

Accessibility & contrast

On white

6.31
#7D4E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7D4E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4E8A
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4E8A#FFFFFF#000000##FFFFFF
##7D4E8A1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455D8C
Deuteranopia (green-blind)
#516188
Tritanopia (blue-blind)
#7D5665
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d4e8a;
/* rgb */ color: rgb(125, 78, 138);
/* oklch */ color: oklch(50.1% 0.107 318.7);
Tailwind
colors: {
  custom: {
    50: '#a481ac',
    500: '#7d4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #7d4e8a;
$custom-light: #a481ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4e8a",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 287,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50076,
    "c": 0.1067,
    "h": 318.7
  },
  "luminance": 0.11644
}

Semantic roles & 50–950 ramp

primary
#7D4E8A
secondary
#8FAE86
accent
#C46479
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #7D4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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