#7C4E7A#7C4E7A

#7C4E7A is a mid, moderate purple. Relative luminance 0.111; OKLCH L 49.2% C 0.088 H 328.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7C4E7A
RGBrgb(124, 78, 122)
HSLhsl(303, 23%, 40%)
HSVhsv(303, 37%, 49%)
CMYKcmyk(0%, 37.1%, 1.6%, 51.4%)
CIE-LABlab(39.81, 26.89, -17.06)
CIE-LCHlch(39.81, 31.84, 327.60°)
OKLaboklab(49.19% 0.075 -0.0463)
OKLCHoklch(49.19% 0.088 328.3)
XYZxyz(14.5492, 11.1396, 19.7924)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4E7A #4E7C50
analogous
#674E7C #7C4E7A #7C4E63
triadic
#7C4E7A #7A7C4E #4E7A7C
tetradic
#7C4E7A #7C674E #4E7C50 #4E637C
square
#7C4E7A #7C674E #4E7C50 #4E637C
split-complementary
#7C4E7A #637C4E #4E7C67
monochromatic
#311F30 #563655 #7C4E7A #A0679D #B78DB5

Accessibility & contrast

On white

6.51
#7C4E7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7C4E7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4E7A
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4E7A#FFFFFF#000000##FFFFFF
##7C4E7A1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5A7C
Deuteranopia (green-blind)
#576078
Tritanopia (blue-blind)
#7F525E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7c4e7a;
/* rgb */ color: rgb(124, 78, 122);
/* oklch */ color: oklch(49.2% 0.088 328.3);
Tailwind
colors: {
  custom: {
    50: '#a380a0',
    500: '#7c4e7a',
    950: '#000000',
  },
}
SCSS
$custom: #7c4e7a;
$custom-light: #a380a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4e7a",
  "rgb": {
    "r": 124,
    "g": 78,
    "b": 122
  },
  "hsl": {
    "h": 302.609,
    "s": 22.772,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49192,
    "c": 0.08816,
    "h": 328.3
  },
  "luminance": 0.11139
}

Semantic roles & 50–950 ramp

primary
#7C4E7A
secondary
#82A483
accent
#BF6C69
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7C4E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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