#8A558E#8A558E

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

Color values

HEX#8A558E
RGBrgb(138, 85, 142)
HSLhsl(296, 25%, 45%)
HSVhsv(296, 40%, 56%)
CMYKcmyk(2.8%, 40.1%, 0%, 44.3%)
CIE-LABlab(44.02, 31.63, -22.60)
CIE-LCHlch(44.02, 38.87, 324.46°)
OKLaboklab(53.02% 0.0864 -0.0618)
OKLCHoklch(53.02% 0.106 324.4)
XYZxyz(18.6117, 13.8540, 27.2797)
Luminance0.1385 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A558E #598E55
analogous
#6E558E #8A558E #8E5576
triadic
#8A558E #8E8A55 #558E8A
tetradic
#8A558E #8E6E55 #598E55 #55768E
square
#8A558E #8E6E55 #598E55 #55768E
split-complementary
#8A558E #768E55 #558E6E
monochromatic
#402741 #653E68 #8A558E #A874AC #C09BC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A558E#FFFFFF#000000##FFFFFF
##8A558E1.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)
#4F6490
Deuteranopia (green-blind)
#5D6A8C
Tritanopia (blue-blind)
#8C5B6B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a558e;
/* rgb */ color: rgb(138, 85, 142);
/* oklch */ color: oklch(53.0% 0.106 324.4);
Tailwind
colors: {
  custom: {
    50: '#ad86af',
    500: '#8a558e',
    950: '#000000',
  },
}
SCSS
$custom: #8a558e;
$custom-light: #ad86af;
$custom-dark: #000000;
JSON
{
  "hex": "#8a558e",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 142
  },
  "hsl": {
    "h": 295.789,
    "s": 25.11,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53022,
    "c": 0.10619,
    "h": 324.4
  },
  "luminance": 0.13853
}

Semantic roles & 50–950 ramp

primary
#8A558E
secondary
#91B08F
accent
#C2666D
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #8A558E

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

Preview Lab → · Contrast checker → · Palette generator →

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