#8A548B#8A548B

#8A548B is a mid, moderate purple. Relative luminance 0.136; OKLCH L 52.7% C 0.105 H 326.3°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8A548B
RGBrgb(138, 84, 139)
HSLhsl(299, 25%, 44%)
HSVhsv(299, 40%, 55%)
CMYKcmyk(0.7%, 39.6%, 0%, 45.5%)
CIE-LABlab(43.67, 31.59, -21.34)
CIE-LCHlch(43.67, 38.13, 325.97°)
OKLaboklab(52.71% 0.0872 -0.0582)
OKLCHoklch(52.71% 0.105 326.3)
XYZxyz(18.3114, 13.6088, 26.0833)
Luminance0.1361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A548B #558B54
analogous
#6E548B #8A548B #8B5470
triadic
#8A548B #8B8A54 #548B8A
tetradic
#8A548B #8B6E54 #558B54 #54708B
square
#8A548B #8B6E54 #558B54 #54708B
split-complementary
#8A548B #708B54 #548B6E
monochromatic
#3E263F #643D65 #8A548B #A972AA #C098C1

Accessibility & contrast

On white

5.64
#8A548B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8A548B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A548B
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A548B#FFFFFF#000000##FFFFFF
##8A548B1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F638D
Deuteranopia (green-blind)
#5E6A89
Tritanopia (blue-blind)
#8D5969
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a548b;
/* rgb */ color: rgb(138, 84, 139);
/* oklch */ color: oklch(52.7% 0.105 326.3);
Tailwind
colors: {
  custom: {
    50: '#ad85ad',
    500: '#8a548b',
    950: '#000000',
  },
}
SCSS
$custom: #8a548b;
$custom-light: #ad85ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8a548b",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 139
  },
  "hsl": {
    "h": 298.909,
    "s": 24.664,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52712,
    "c": 0.10486,
    "h": 326.3
  },
  "luminance": 0.13608
}

Semantic roles & 50–950 ramp

primary
#8A548B
secondary
#8DAE8D
accent
#C16768
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #8A548B

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

Preview Lab → · Contrast checker → · Palette generator →

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