#7C548B#7C548B

#7C548B is a mid, moderate purple. Relative luminance 0.125; OKLCH L 51.1% C 0.096 H 316.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7C548B
RGBrgb(124, 84, 139)
HSLhsl(284, 25%, 44%)
HSVhsv(284, 40%, 55%)
CMYKcmyk(10.8%, 39.6%, 0%, 45.5%)
CIE-LABlab(41.98, 26.96, -24.08)
CIE-LCHlch(41.98, 36.14, 318.23°)
OKLaboklab(51.07% 0.0697 -0.0662)
OKLCHoklch(51.07% 0.096 316.4)
XYZxyz(16.1420, 12.4902, 25.9816)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C548B #638B54
analogous
#60548B #7C548B #8B547E
triadic
#7C548B #8B7C54 #548B7C
tetradic
#7C548B #8B6054 #638B54 #547E8B
square
#7C548B #8B6054 #638B54 #547E8B
split-complementary
#7C548B #7E8B54 #548B60
monochromatic
#38263F #5A3D65 #7C548B #9B72AA #B698C1

Accessibility & contrast

On white

6.00
#7C548B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7C548B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C548B
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C548B#FFFFFF#000000##FFFFFF
##7C548B1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B618D
Deuteranopia (green-blind)
#556489
Tritanopia (blue-blind)
#7C5B69
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7c548b;
/* rgb */ color: rgb(124, 84, 139);
/* oklch */ color: oklch(51.1% 0.096 316.4);
Tailwind
colors: {
  custom: {
    50: '#a385ad',
    500: '#7c548b',
    950: '#000000',
  },
}
SCSS
$custom: #7c548b;
$custom-light: #a385ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7c548b",
  "rgb": {
    "r": 124,
    "g": 84,
    "b": 139
  },
  "hsl": {
    "h": 283.636,
    "s": 24.664,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51073,
    "c": 0.09614,
    "h": 316.4
  },
  "luminance": 0.1249
}

Semantic roles & 50–950 ramp

primary
#7C548B
secondary
#96AE8D
accent
#C1677F
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#0F0B10
muted
#7F7C7F

Preview Lab

Preview with #7C548B

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

Preview Lab → · Contrast checker → · Palette generator →

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