#8A548E#8A548E

#8A548E is a mid, moderate purple. Relative luminance 0.137; OKLCH L 52.9% C 0.108 H 324.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8A548E
RGBrgb(138, 84, 142)
HSLhsl(296, 26%, 44%)
HSVhsv(296, 41%, 56%)
CMYKcmyk(2.8%, 40.8%, 0%, 44.3%)
CIE-LABlab(43.80, 32.20, -22.95)
CIE-LCHlch(43.80, 39.54, 324.53°)
OKLaboklab(52.85% 0.088 -0.0627)
OKLCHoklch(52.85% 0.108 324.5)
XYZxyz(18.5336, 13.6977, 27.2536)
Luminance0.1370 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A548E #588E54
analogous
#6D548E #8A548E #8E5475
triadic
#8A548E #8E8A54 #548E8A
tetradic
#8A548E #8E6D54 #588E54 #54758E
square
#8A548E #8E6D54 #588E54 #54758E
split-complementary
#8A548E #758E54 #548E6D
monochromatic
#3F2741 #653D68 #8A548E #A873AC #C099C3

Accessibility & contrast

On white

5.62
#8A548E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8A548E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A548E
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A548E#FFFFFF#000000##FFFFFF
##8A548E1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6390
Deuteranopia (green-blind)
#5C6A8C
Tritanopia (blue-blind)
#8C5A6A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a548e;
/* rgb */ color: rgb(138, 84, 142);
/* oklch */ color: oklch(52.9% 0.108 324.5);
Tailwind
colors: {
  custom: {
    50: '#ad85af',
    500: '#8a548e',
    950: '#000000',
  },
}
SCSS
$custom: #8a548e;
$custom-light: #ad85af;
$custom-dark: #000000;
JSON
{
  "hex": "#8a548e",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 295.862,
    "s": 25.664,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52852,
    "c": 0.10805,
    "h": 324.5
  },
  "luminance": 0.13697
}

Semantic roles & 50–950 ramp

primary
#8A548E
secondary
#90B08E
accent
#C2666C
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #8A548E

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

Preview Lab → · Contrast checker → · Palette generator →

#8A548E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva