#7C548E#7C548E

#7C548E is a mid, moderate purple. Relative luminance 0.126; OKLCH L 51.2% C 0.100 H 314.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#7C548E
RGBrgb(124, 84, 142)
HSLhsl(281, 26%, 44%)
HSVhsv(281, 41%, 56%)
CMYKcmyk(12.7%, 40.8%, 0%, 44.3%)
CIE-LABlab(42.12, 27.63, -25.68)
CIE-LCHlch(42.12, 37.72, 317.10°)
OKLaboklab(51.22% 0.0704 -0.0708)
OKLCHoklch(51.22% 0.1 314.8)
XYZxyz(16.3642, 12.5791, 27.1519)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C548E #668E54
analogous
#5F548E #7C548E #8E5483
triadic
#7C548E #8E7C54 #548E7C
tetradic
#7C548E #8E5F54 #668E54 #54838E
square
#7C548E #8E5F54 #668E54 #54838E
split-complementary
#7C548E #838E54 #548E5F
monochromatic
#392741 #5A3D68 #7C548E #9A73AC #B699C3

Accessibility & contrast

On white

5.97
#7C548E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C548E
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C548E#FFFFFF#000000##FFFFFF
##7C548E1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6190
Deuteranopia (green-blind)
#54658C
Tritanopia (blue-blind)
#7B5C6A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7c548e;
/* rgb */ color: rgb(124, 84, 142);
/* oklch */ color: oklch(51.2% 0.100 314.8);
Tailwind
colors: {
  custom: {
    50: '#a385af',
    500: '#7c548e',
    950: '#000000',
  },
}
SCSS
$custom: #7c548e;
$custom-light: #a385af;
$custom-dark: #000000;
JSON
{
  "hex": "#7c548e",
  "rgb": {
    "r": 124,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 281.379,
    "s": 25.664,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51221,
    "c": 0.09984,
    "h": 314.8
  },
  "luminance": 0.12579
}

Semantic roles & 50–950 ramp

primary
#7C548E
secondary
#98B08E
accent
#C26682
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#0F0B10
muted
#7F7C7F

Preview Lab

Preview with #7C548E

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

Preview Lab → · Contrast checker → · Palette generator →

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