#7C548C#7C548C

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

Color values

HEX#7C548C
RGBrgb(124, 84, 140)
HSLhsl(283, 25%, 44%)
HSVhsv(283, 40%, 55%)
CMYKcmyk(11.4%, 40%, 0%, 45.1%)
CIE-LABlab(42.03, 27.18, -24.61)
CIE-LCHlch(42.03, 36.67, 317.84°)
OKLaboklab(51.12% 0.0699 -0.0678)
OKLCHoklch(51.12% 0.097 315.9)
XYZxyz(16.2154, 12.5196, 26.3682)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C548C #648C54
analogous
#60548C #7C548C #8C5480
triadic
#7C548C #8C7C54 #548C7C
tetradic
#7C548C #8C6054 #648C54 #54808C
square
#7C548C #8C6054 #648C54 #54808C
split-complementary
#7C548C #808C54 #548C60
monochromatic
#382640 #5A3D66 #7C548C #9B73AB #B699C2

Accessibility & contrast

On white

5.99
#7C548C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C548C
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C548C#FFFFFF#000000##FFFFFF
##7C548C1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B618E
Deuteranopia (green-blind)
#55648A
Tritanopia (blue-blind)
#7B5B69
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7c548c;
/* rgb */ color: rgb(124, 84, 140);
/* oklch */ color: oklch(51.1% 0.097 315.9);
Tailwind
colors: {
  custom: {
    50: '#a385ae',
    500: '#7c548c',
    950: '#000000',
  },
}
SCSS
$custom: #7c548c;
$custom-light: #a385ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7c548c",
  "rgb": {
    "r": 124,
    "g": 84,
    "b": 140
  },
  "hsl": {
    "h": 282.857,
    "s": 25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51122,
    "c": 0.09737,
    "h": 315.9
  },
  "luminance": 0.12519
}

Semantic roles & 50–950 ramp

primary
#7C548C
secondary
#97AF8D
accent
#C16680
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#0F0B10
muted
#7F7C7F

Preview Lab

Preview with #7C548C

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

Preview Lab → · Contrast checker → · Palette generator →

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