#8C548D#8C548D

#8C548D is a mid, moderate purple. Relative luminance 0.138; OKLCH L 53.0% C 0.108 H 326.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8C548D
RGBrgb(140, 84, 141)
HSLhsl(299, 25%, 44%)
HSVhsv(299, 40%, 55%)
CMYKcmyk(0.7%, 40.4%, 0%, 44.7%)
CIE-LABlab(44.00, 32.66, -22.00)
CIE-LCHlch(44.00, 39.38, 326.03°)
OKLaboklab(53.05% 0.0902 -0.06)
OKLCHoklch(53.05% 0.108 326.4)
XYZxyz(18.7929, 13.8400, 26.8756)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C548D #558D54
analogous
#70548D #8C548D #8D5472
triadic
#8C548D #8D8C54 #548D8C
tetradic
#8C548D #8D7054 #558D54 #54728D
square
#8C548D #8D7054 #558D54 #54728D
split-complementary
#8C548D #728D54 #548D70
monochromatic
#402640 #663D67 #8C548D #AA73AB #C299C2

Accessibility & contrast

On white

5.57
#8C548D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8C548D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C548D
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C548D#FFFFFF#000000##FFFFFF
##8C548D1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F648F
Deuteranopia (green-blind)
#5E6B8B
Tritanopia (blue-blind)
#8F5A6A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8c548d;
/* rgb */ color: rgb(140, 84, 141);
/* oklch */ color: oklch(53.0% 0.108 326.4);
Tailwind
colors: {
  custom: {
    50: '#af85ae',
    500: '#8c548d',
    950: '#000000',
  },
}
SCSS
$custom: #8c548d;
$custom-light: #af85ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8c548d",
  "rgb": {
    "r": 140,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 298.947,
    "s": 25.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53047,
    "c": 0.10836,
    "h": 326.4
  },
  "luminance": 0.13839
}

Semantic roles & 50–950 ramp

primary
#8C548D
secondary
#8EB08D
accent
#C26668
background
#FAF8FA
surface
#F5EFF4
border
#CFCACE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #8C548D

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

Preview Lab → · Contrast checker → · Palette generator →

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