#7C548F#7C548F

#7C548F is a mid, moderate purple. Relative luminance 0.126; OKLCH L 51.3% C 0.101 H 314.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7C548F
RGBrgb(124, 84, 143)
HSLhsl(281, 26%, 45%)
HSVhsv(281, 41%, 56%)
CMYKcmyk(13.3%, 41.3%, 0%, 43.9%)
CIE-LABlab(42.17, 27.86, -26.21)
CIE-LCHlch(42.17, 38.25, 316.75°)
OKLaboklab(51.27% 0.0706 -0.0723)
OKLCHoklch(51.27% 0.101 314.3)
XYZxyz(16.4396, 12.6093, 27.5491)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C548F #678F54
analogous
#5F548F #7C548F #8F5485
triadic
#7C548F #8F7C54 #548F7C
tetradic
#7C548F #8F5F54 #678F54 #54858F
square
#7C548F #8F5F54 #678F54 #54858F
split-complementary
#7C548F #858F54 #548F5F
monochromatic
#392742 #5B3D68 #7C548F #9A73AD #B69AC4

Accessibility & contrast

On white

5.96
#7C548F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7C548F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C548F
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C548F#FFFFFF#000000##FFFFFF
##7C548F1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6191
Deuteranopia (green-blind)
#54658D
Tritanopia (blue-blind)
#7B5C6B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7c548f;
/* rgb */ color: rgb(124, 84, 143);
/* oklch */ color: oklch(51.3% 0.101 314.3);
Tailwind
colors: {
  custom: {
    50: '#a385b0',
    500: '#7c548f',
    950: '#000000',
  },
}
SCSS
$custom: #7c548f;
$custom-light: #a385b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c548f",
  "rgb": {
    "r": 124,
    "g": 84,
    "b": 143
  },
  "hsl": {
    "h": 280.678,
    "s": 25.991,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51271,
    "c": 0.10108,
    "h": 314.3
  },
  "luminance": 0.12609
}

Semantic roles & 50–950 ramp

primary
#7C548F
secondary
#99B18E
accent
#C26583
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#0F0B10
muted
#7F7C7F

Preview Lab

Preview with #7C548F

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

Preview Lab → · Contrast checker → · Palette generator →

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