#8A558F#8A558F

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

Color values

HEX#8A558F
RGBrgb(138, 85, 143)
HSLhsl(295, 25%, 45%)
HSVhsv(295, 41%, 56%)
CMYKcmyk(3.5%, 40.6%, 0%, 43.9%)
CIE-LABlab(44.07, 31.83, -23.13)
CIE-LCHlch(44.07, 39.35, 324.00°)
OKLaboklab(53.07% 0.0866 -0.0633)
OKLCHoklch(53.07% 0.107 323.9)
XYZxyz(18.6872, 13.8842, 27.6768)
Luminance0.1388 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A558F #5A8F55
analogous
#6D558F #8A558F #8F5577
triadic
#8A558F #8F8A55 #558F8A
tetradic
#8A558F #8F6D55 #5A8F55 #55778F
square
#8A558F #8F6D55 #5A8F55 #55778F
split-complementary
#8A558F #778F55 #558F6D
monochromatic
#402742 #653E69 #8A558F #A875AD #C09BC4

Accessibility & contrast

On white

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

On black

3.78
#8A558F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8A558F#FFFFFF#000000##FFFFFF
##8A558F1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6491
Deuteranopia (green-blind)
#5D6A8D
Tritanopia (blue-blind)
#8C5B6B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a558f;
/* rgb */ color: rgb(138, 85, 143);
/* oklch */ color: oklch(53.1% 0.107 323.9);
Tailwind
colors: {
  custom: {
    50: '#ad86b0',
    500: '#8a558f',
    950: '#000000',
  },
}
SCSS
$custom: #8a558f;
$custom-light: #ad86b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a558f",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 143
  },
  "hsl": {
    "h": 294.828,
    "s": 25.439,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53069,
    "c": 0.10727,
    "h": 323.9
  },
  "luminance": 0.13883
}

Semantic roles & 50–950 ramp

primary
#8A558F
secondary
#92B18F
accent
#C2666E
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #8A558F

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

Preview Lab → · Contrast checker → · Palette generator →

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