#7E548B#7E548B

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

Color values

HEX#7E548B
RGBrgb(126, 84, 139)
HSLhsl(286, 25%, 44%)
HSVhsv(286, 40%, 55%)
CMYKcmyk(9.4%, 39.6%, 0%, 45.5%)
CIE-LABlab(42.22, 27.62, -23.70)
CIE-LCHlch(42.22, 36.39, 319.37°)
OKLaboklab(51.3% 0.0722 -0.0651)
OKLCHoklch(51.3% 0.097 318)
XYZxyz(16.4341, 12.6408, 25.9953)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E548B #618B54
analogous
#62548B #7E548B #8B547C
triadic
#7E548B #8B7E54 #548B7E
tetradic
#7E548B #8B6254 #618B54 #547C8B
square
#7E548B #8B6254 #618B54 #547C8B
split-complementary
#7E548B #7C8B54 #548B62
monochromatic
#39263F #5B3D65 #7E548B #9D72AA #B798C1

Accessibility & contrast

On white

5.95
#7E548B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7E548B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E548B
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E548B#FFFFFF#000000##FFFFFF
##7E548B1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C618D
Deuteranopia (green-blind)
#566589
Tritanopia (blue-blind)
#7E5B69
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e548b;
/* rgb */ color: rgb(126, 84, 139);
/* oklch */ color: oklch(51.3% 0.097 318.0);
Tailwind
colors: {
  custom: {
    50: '#a485ad',
    500: '#7e548b',
    950: '#000000',
  },
}
SCSS
$custom: #7e548b;
$custom-light: #a485ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7e548b",
  "rgb": {
    "r": 126,
    "g": 84,
    "b": 139
  },
  "hsl": {
    "h": 285.818,
    "s": 24.664,
    "l": 43.725
  },
  "oklch": {
    "l": 0.513,
    "c": 0.09724,
    "h": 318
  },
  "luminance": 0.1264
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E548B

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

Preview Lab → · Contrast checker → · Palette generator →

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