#7D548B#7D548B

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

Color values

HEX#7D548B
RGBrgb(125, 84, 139)
HSLhsl(285, 25%, 44%)
HSVhsv(285, 40%, 55%)
CMYKcmyk(10.1%, 39.6%, 0%, 45.5%)
CIE-LABlab(42.10, 27.29, -23.89)
CIE-LCHlch(42.10, 36.27, 318.80°)
OKLaboklab(51.19% 0.071 -0.0657)
OKLCHoklch(51.19% 0.097 317.2)
XYZxyz(16.2873, 12.5651, 25.9884)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D548B #628B54
analogous
#61548B #7D548B #8B547D
triadic
#7D548B #8B7D54 #548B7D
tetradic
#7D548B #8B6154 #628B54 #547D8B
square
#7D548B #8B6154 #628B54 #547D8B
split-complementary
#7D548B #7D8B54 #548B61
monochromatic
#38263F #5B3D65 #7D548B #9C72AA #B798C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D548B#FFFFFF#000000##FFFFFF
##7D548B1.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)
#4C618D
Deuteranopia (green-blind)
#566589
Tritanopia (blue-blind)
#7D5B69
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7d548b;
/* rgb */ color: rgb(125, 84, 139);
/* oklch */ color: oklch(51.2% 0.097 317.2);
Tailwind
colors: {
  custom: {
    50: '#a385ad',
    500: '#7d548b',
    950: '#000000',
  },
}
SCSS
$custom: #7d548b;
$custom-light: #a385ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7d548b",
  "rgb": {
    "r": 125,
    "g": 84,
    "b": 139
  },
  "hsl": {
    "h": 284.727,
    "s": 24.664,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51186,
    "c": 0.09668,
    "h": 317.2
  },
  "luminance": 0.12565
}

Semantic roles & 50–950 ramp

primary
#7D548B
secondary
#95AE8D
accent
#C1677E
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#0F0B10
muted
#7F7C7F

Preview Lab

Preview with #7D548B

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

Preview Lab → · Contrast checker → · Palette generator →

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