#7C548D#7C548D

#7C548D is a mid, moderate purple. Relative luminance 0.125; OKLCH L 51.2% C 0.099 H 315.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7C548D
RGBrgb(124, 84, 141)
HSLhsl(282, 25%, 44%)
HSVhsv(282, 40%, 55%)
CMYKcmyk(12.1%, 40.4%, 0%, 44.7%)
CIE-LABlab(42.08, 27.40, -25.14)
CIE-LCHlch(42.08, 37.19, 317.46°)
OKLaboklab(51.17% 0.0701 -0.0693)
OKLCHoklch(51.17% 0.099 315.3)
XYZxyz(16.2895, 12.5492, 26.7583)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C548D #658D54
analogous
#60548D #7C548D #8D5482
triadic
#7C548D #8D7C54 #548D7C
tetradic
#7C548D #8D6054 #658D54 #54828D
square
#7C548D #8D6054 #658D54 #54828D
split-complementary
#7C548D #828D54 #548D60
monochromatic
#392640 #5A3D67 #7C548D #9B73AB #B699C2

Accessibility & contrast

On white

5.98
#7C548D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7C548D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C548D
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C548D#FFFFFF#000000##FFFFFF
##7C548D1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B618F
Deuteranopia (green-blind)
#54648B
Tritanopia (blue-blind)
#7B5C6A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7c548d;
/* rgb */ color: rgb(124, 84, 141);
/* oklch */ color: oklch(51.2% 0.099 315.3);
Tailwind
colors: {
  custom: {
    50: '#a385ae',
    500: '#7c548d',
    950: '#000000',
  },
}
SCSS
$custom: #7c548d;
$custom-light: #a385ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7c548d",
  "rgb": {
    "r": 124,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 282.105,
    "s": 25.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51171,
    "c": 0.0986,
    "h": 315.3
  },
  "luminance": 0.12549
}

Semantic roles & 50–950 ramp

primary
#7C548D
secondary
#97B08D
accent
#C26681
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#0F0B10
muted
#7F7C7F

Preview Lab

Preview with #7C548D

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

Preview Lab → · Contrast checker → · Palette generator →

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