#7C477D#7C477D

#7C477D is a mid, moderate purple. Relative luminance 0.103; OKLCH L 48.1% C 0.105 H 326.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7C477D
RGBrgb(124, 71, 125)
HSLhsl(299, 28%, 38%)
HSVhsv(299, 43%, 49%)
CMYKcmyk(0.8%, 43.2%, 0%, 51%)
CIE-LABlab(38.33, 31.55, -21.20)
CIE-LCHlch(38.33, 38.01, 326.10°)
OKLaboklab(48.12% 0.0872 -0.0579)
OKLCHoklch(48.12% 0.105 326.4)
XYZxyz(14.2668, 10.2729, 20.6294)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C477D #487D47
analogous
#61477D #7C477D #7D4763
triadic
#7C477D #7D7C47 #477D7C
tetradic
#7C477D #7D6147 #487D47 #47637D
square
#7C477D #7D6147 #487D47 #47637D
split-complementary
#7C477D #637D47 #477D61
monochromatic
#2F1B2F #553156 #7C477D #A25EA3 #B985BA

Accessibility & contrast

On white

6.88
#7C477D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7C477D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C477D
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C477D#FFFFFF#000000##FFFFFF
##7C477D1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42567F
Deuteranopia (green-blind)
#515D7B
Tritanopia (blue-blind)
#7F4C5C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7c477d;
/* rgb */ color: rgb(124, 71, 125);
/* oklch */ color: oklch(48.1% 0.105 326.4);
Tailwind
colors: {
  custom: {
    50: '#a37ca3',
    500: '#7c477d',
    950: '#000000',
  },
}
SCSS
$custom: #7c477d;
$custom-light: #a37ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c477d",
  "rgb": {
    "r": 124,
    "g": 71,
    "b": 125
  },
  "hsl": {
    "h": 298.889,
    "s": 27.551,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48117,
    "c": 0.10467,
    "h": 326.4
  },
  "luminance": 0.10272
}

Semantic roles & 50–950 ramp

primary
#7C477D
secondary
#7BA57A
accent
#C46466
background
#FAF7FA
surface
#F4EEF3
border
#CEC9CD
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #7C477D

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

Preview Lab → · Contrast checker → · Palette generator →

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