#7C4C8A#7C4C8A

#7C4C8A is a mid, moderate purple. Relative luminance 0.113; OKLCH L 49.6% C 0.110 H 318.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7C4C8A
RGBrgb(124, 76, 138)
HSLhsl(286, 29%, 42%)
HSVhsv(286, 45%, 54%)
CMYKcmyk(10.1%, 44.9%, 0%, 45.9%)
CIE-LABlab(40.06, 31.42, -26.46)
CIE-LCHlch(40.06, 41.08, 319.90°)
OKLaboklab(49.61% 0.082 -0.073)
OKLCHoklch(49.61% 0.11 318.3)
XYZxyz(15.4834, 11.2894, 25.4033)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4C8A #5A8A4C
analogous
#5D4C8A #7C4C8A #8A4C79
triadic
#7C4C8A #8A7C4C #4C8A7C
tetradic
#7C4C8A #8A5D4C #5A8A4C #4C798A
square
#7C4C8A #8A5D4C #5A8A4C #4C798A
split-complementary
#7C4C8A #798A4C #4C8A5D
monochromatic
#35213B #593663 #7C4C8A #9C68AC #B68FC1

Accessibility & contrast

On white

6.45
#7C4C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7C4C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4C8A
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4C8A#FFFFFF#000000##FFFFFF
##7C4C8A1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8C
Deuteranopia (green-blind)
#4F6088
Tritanopia (blue-blind)
#7C5464
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7c4c8a;
/* rgb */ color: rgb(124, 76, 138);
/* oklch */ color: oklch(49.6% 0.110 318.3);
Tailwind
colors: {
  custom: {
    50: '#a37fac',
    500: '#7c4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #7c4c8a;
$custom-light: #a37fac;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4c8a",
  "rgb": {
    "r": 124,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 286.452,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49614,
    "c": 0.10982,
    "h": 318.3
  },
  "luminance": 0.11289
}

Semantic roles & 50–950 ramp

primary
#7C4C8A
secondary
#8EAE84
accent
#C56379
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #7C4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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