#8A548A#8A548A

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

Color values

HEX#8A548A
RGBrgb(138, 84, 138)
HSLhsl(300, 24%, 44%)
HSVhsv(300, 39%, 54%)
CMYKcmyk(0%, 39.1%, 0%, 45.9%)
CIE-LABlab(43.62, 31.39, -20.80)
CIE-LCHlch(43.62, 37.66, 326.47°)
OKLaboklab(52.67% 0.087 -0.0567)
OKLCHoklch(52.67% 0.104 326.9)
XYZxyz(18.2386, 13.5797, 25.7003)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A548A #548A54
analogous
#6F548A #8A548A #8A546F
triadic
#8A548A #8A8A54 #548A8A
tetradic
#8A548A #8A6F54 #548A54 #546F8A
square
#8A548A #8A6F54 #548A54 #546F8A
split-complementary
#8A548A #6F8A54 #548A6F
monochromatic
#3E263E #643D64 #8A548A #A972A9 #C098C0

Accessibility & contrast

On white

5.65
#8A548A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A548A
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A548A#FFFFFF#000000##FFFFFF
##8A548A1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50638C
Deuteranopia (green-blind)
#5E6A88
Tritanopia (blue-blind)
#8D5968
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a548a;
/* rgb */ color: rgb(138, 84, 138);
/* oklch */ color: oklch(52.7% 0.104 326.9);
Tailwind
colors: {
  custom: {
    50: '#ad85ac',
    500: '#8a548a',
    950: '#000000',
  },
}
SCSS
$custom: #8a548a;
$custom-light: #ad85ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a548a",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 24.324,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52666,
    "c": 0.10382,
    "h": 326.9
  },
  "luminance": 0.13579
}

Semantic roles & 50–950 ramp

primary
#8A548A
secondary
#8CAE8C
accent
#C16767
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #8A548A

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

Preview Lab → · Contrast checker → · Palette generator →

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