#7D548D#7D548D

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

Color values

HEX#7D548D
RGBrgb(125, 84, 141)
HSLhsl(283, 25%, 44%)
HSVhsv(283, 40%, 55%)
CMYKcmyk(11.3%, 40.4%, 0%, 44.7%)
CIE-LABlab(42.19, 27.73, -24.96)
CIE-LCHlch(42.19, 37.31, 318.02°)
OKLaboklab(51.28% 0.0714 -0.0687)
OKLCHoklch(51.28% 0.099 316.1)
XYZxyz(16.4348, 12.6241, 26.7651)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D548D #648D54
analogous
#61548D #7D548D #8D5481
triadic
#7D548D #8D7D54 #548D7D
tetradic
#7D548D #8D6154 #648D54 #54818D
square
#7D548D #8D6154 #648D54 #54818D
split-complementary
#7D548D #818D54 #548D61
monochromatic
#392640 #5B3D67 #7D548D #9C73AB #B799C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D548D#FFFFFF#000000##FFFFFF
##7D548D1.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)
#4B618F
Deuteranopia (green-blind)
#55658B
Tritanopia (blue-blind)
#7C5B6A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7d548d;
/* rgb */ color: rgb(125, 84, 141);
/* oklch */ color: oklch(51.3% 0.099 316.1);
Tailwind
colors: {
  custom: {
    50: '#a385ae',
    500: '#7d548d',
    950: '#000000',
  },
}
SCSS
$custom: #7d548d;
$custom-light: #a385ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7d548d",
  "rgb": {
    "r": 125,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 283.158,
    "s": 25.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51284,
    "c": 0.09912,
    "h": 316.1
  },
  "luminance": 0.12624
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D548D

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

Preview Lab → · Contrast checker → · Palette generator →

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