#7E548E#7E548E

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

Color values

HEX#7E548E
RGBrgb(126, 84, 142)
HSLhsl(283, 26%, 44%)
HSVhsv(283, 41%, 56%)
CMYKcmyk(11.3%, 40.8%, 0%, 44.3%)
CIE-LABlab(42.35, 28.28, -25.30)
CIE-LCHlch(42.35, 37.94, 318.19°)
OKLaboklab(51.45% 0.0729 -0.0697)
OKLCHoklch(51.45% 0.101 316.3)
XYZxyz(16.6563, 12.7297, 27.1656)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E548E #648E54
analogous
#61548E #7E548E #8E5481
triadic
#7E548E #8E7E54 #548E7E
tetradic
#7E548E #8E6154 #648E54 #54818E
square
#7E548E #8E6154 #648E54 #54818E
split-complementary
#7E548E #818E54 #548E61
monochromatic
#3A2741 #5C3D68 #7E548E #9C73AC #B799C3

Accessibility & contrast

On white

5.92
#7E548E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7E548E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E548E
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E548E#FFFFFF#000000##FFFFFF
##7E548E1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6190
Deuteranopia (green-blind)
#55658C
Tritanopia (blue-blind)
#7D5C6A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e548e;
/* rgb */ color: rgb(126, 84, 142);
/* oklch */ color: oklch(51.4% 0.101 316.3);
Tailwind
colors: {
  custom: {
    50: '#a485af',
    500: '#7e548e',
    950: '#000000',
  },
}
SCSS
$custom: #7e548e;
$custom-light: #a485af;
$custom-dark: #000000;
JSON
{
  "hex": "#7e548e",
  "rgb": {
    "r": 126,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 283.448,
    "s": 25.664,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51447,
    "c": 0.10087,
    "h": 316.3
  },
  "luminance": 0.12729
}

Semantic roles & 50–950 ramp

primary
#7E548E
secondary
#97B08E
accent
#C2667F
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#0F0B10
muted
#7F7C7F

Preview Lab

Preview with #7E548E

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

Preview Lab → · Contrast checker → · Palette generator →

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