#8C548E#8C548E

#8C548E is a mid, moderate purple. Relative luminance 0.139; OKLCH L 53.1% C 0.109 H 325.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8C548E
RGBrgb(140, 84, 142)
HSLhsl(298, 26%, 44%)
HSVhsv(298, 41%, 56%)
CMYKcmyk(1.4%, 40.8%, 0%, 44.3%)
CIE-LABlab(44.05, 32.85, -22.54)
CIE-LCHlch(44.05, 39.84, 325.55°)
OKLaboklab(53.09% 0.0904 -0.0616)
OKLCHoklch(53.09% 0.109 325.8)
XYZxyz(18.8676, 13.8699, 27.2693)
Luminance0.1387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C548E #568E54
analogous
#6F548E #8C548E #8E5473
triadic
#8C548E #8E8C54 #548E8C
tetradic
#8C548E #8E6F54 #568E54 #54738E
square
#8C548E #8E6F54 #568E54 #54738E
split-complementary
#8C548E #738E54 #548E6F
monochromatic
#402741 #663D68 #8C548E #AA73AC #C299C3

Accessibility & contrast

On white

5.56
#8C548E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8C548E
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C548E#FFFFFF#000000##FFFFFF
##8C548E1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c548e;
/* rgb */ color: rgb(140, 84, 142);
/* oklch */ color: oklch(53.1% 0.109 325.8);
Tailwind
colors: {
  custom: {
    50: '#af85af',
    500: '#8c548e',
    950: '#000000',
  },
}
SCSS
$custom: #8c548e;
$custom-light: #af85af;
$custom-dark: #000000;
JSON
{
  "hex": "#8c548e",
  "rgb": {
    "r": 140,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 297.931,
    "s": 25.664,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53094,
    "c": 0.1094,
    "h": 325.8
  },
  "luminance": 0.13869
}

Semantic roles & 50–950 ramp

primary
#8C548E
secondary
#8FB08E
accent
#C26669
background
#FAF8FA
surface
#F5EFF4
border
#CFCACE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #8C548E

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

Preview Lab → · Contrast checker → · Palette generator →

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