#7E548D#7E548D

#7E548D is a mid, moderate purple. Relative luminance 0.127; OKLCH L 51.4% C 0.100 H 316.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#7E548D
RGBrgb(126, 84, 141)
HSLhsl(284, 25%, 44%)
HSVhsv(284, 40%, 55%)
CMYKcmyk(10.6%, 40.4%, 0%, 44.7%)
CIE-LABlab(42.31, 28.06, -24.77)
CIE-LCHlch(42.31, 37.42, 318.57°)
OKLaboklab(51.4% 0.0727 -0.0682)
OKLCHoklch(51.4% 0.1 316.8)
XYZxyz(16.5815, 12.6998, 26.7720)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E548D #638D54
analogous
#62548D #7E548D #8D5480
triadic
#7E548D #8D7E54 #548D7E
tetradic
#7E548D #8D6254 #638D54 #54808D
square
#7E548D #8D6254 #638D54 #54808D
split-complementary
#7E548D #808D54 #548D62
monochromatic
#392640 #5C3D67 #7E548D #9D73AB #B799C2

Accessibility & contrast

On white

5.93
#7E548D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7E548D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E548D
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E548D#FFFFFF#000000##FFFFFF
##7E548D1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B618F
Deuteranopia (green-blind)
#56658B
Tritanopia (blue-blind)
#7E5B6A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e548d;
/* rgb */ color: rgb(126, 84, 141);
/* oklch */ color: oklch(51.4% 0.100 316.8);
Tailwind
colors: {
  custom: {
    50: '#a485ae',
    500: '#7e548d',
    950: '#000000',
  },
}
SCSS
$custom: #7e548d;
$custom-light: #a485ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7e548d",
  "rgb": {
    "r": 126,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 284.211,
    "s": 25.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51398,
    "c": 0.09965,
    "h": 316.8
  },
  "luminance": 0.12699
}

Semantic roles & 50–950 ramp

primary
#7E548D
secondary
#96B08D
accent
#C2667E
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#0F0B10
muted
#7F7C7F

Preview Lab

Preview with #7E548D

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

Preview Lab → · Contrast checker → · Palette generator →

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