#8A558D#8A558D

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

Color values

HEX#8A558D
RGBrgb(138, 85, 141)
HSLhsl(297, 25%, 44%)
HSVhsv(297, 40%, 55%)
CMYKcmyk(2.1%, 39.7%, 0%, 44.7%)
CIE-LABlab(43.98, 31.43, -22.06)
CIE-LCHlch(43.98, 38.40, 324.93°)
OKLaboklab(52.98% 0.0861 -0.0602)
OKLCHoklch(52.98% 0.105 325)
XYZxyz(18.5370, 13.8241, 26.8860)
Luminance0.1382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A558D #588D55
analogous
#6E558D #8A558D #8D5574
triadic
#8A558D #8D8A55 #558D8A
tetradic
#8A558D #8D6E55 #588D55 #55748D
square
#8A558D #8D6E55 #588D55 #55748D
split-complementary
#8A558D #748D55 #558D6E
monochromatic
#3F2741 #653E67 #8A558D #A874AB #C09AC2

Accessibility & contrast

On white

5.58
#8A558D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8A558D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A558D
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A558D#FFFFFF#000000##FFFFFF
##8A558D1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50648F
Deuteranopia (green-blind)
#5E6A8B
Tritanopia (blue-blind)
#8D5B6A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a558d;
/* rgb */ color: rgb(138, 85, 141);
/* oklch */ color: oklch(53.0% 0.105 325.0);
Tailwind
colors: {
  custom: {
    50: '#ad86ae',
    500: '#8a558d',
    950: '#000000',
  },
}
SCSS
$custom: #8a558d;
$custom-light: #ad86ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a558d",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 141
  },
  "hsl": {
    "h": 296.786,
    "s": 24.779,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52976,
    "c": 0.10511,
    "h": 325
  },
  "luminance": 0.13823
}

Semantic roles & 50–950 ramp

primary
#8A558D
secondary
#90B08E
accent
#C1676B
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #8A558D

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

Preview Lab → · Contrast checker → · Palette generator →

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