#8A548F#8A548F

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

Color values

HEX#8A548F
RGBrgb(138, 84, 143)
HSLhsl(295, 26%, 45%)
HSVhsv(295, 41%, 56%)
CMYKcmyk(3.5%, 41.3%, 0%, 43.9%)
CIE-LABlab(43.84, 32.40, -23.48)
CIE-LCHlch(43.84, 40.02, 324.07°)
OKLaboklab(52.9% 0.0882 -0.0643)
OKLCHoklch(52.9% 0.109 323.9)
XYZxyz(18.6090, 13.7278, 27.6508)
Luminance0.1373 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A548F #598F54
analogous
#6D548F #8A548F #8F5477
triadic
#8A548F #8F8A54 #548F8A
tetradic
#8A548F #8F6D54 #598F54 #54778F
square
#8A548F #8F6D54 #598F54 #54778F
split-complementary
#8A548F #778F54 #548F6D
monochromatic
#402742 #653D68 #8A548F #A873AD #C09AC4

Accessibility & contrast

On white

5.61
#8A548F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8A548F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A548F
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A548F#FFFFFF#000000##FFFFFF
##8A548F1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6391
Deuteranopia (green-blind)
#5C6A8D
Tritanopia (blue-blind)
#8C5A6B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a548f;
/* rgb */ color: rgb(138, 84, 143);
/* oklch */ color: oklch(52.9% 0.109 323.9);
Tailwind
colors: {
  custom: {
    50: '#ad85b0',
    500: '#8a548f',
    950: '#000000',
  },
}
SCSS
$custom: #8a548f;
$custom-light: #ad85b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a548f",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 143
  },
  "hsl": {
    "h": 294.915,
    "s": 25.991,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52899,
    "c": 0.10912,
    "h": 323.9
  },
  "luminance": 0.13727
}

Semantic roles & 50–950 ramp

primary
#8A548F
secondary
#91B18E
accent
#C2656D
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #8A548F

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

Preview Lab → · Contrast checker → · Palette generator →

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