#8A5C8F#8A5C8F

#8A5C8F is a mid, moderate purple. Relative luminance 0.150; OKLCH L 54.3% C 0.094 H 323.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8A5C8F
RGBrgb(138, 92, 143)
HSLhsl(294, 22%, 46%)
HSVhsv(294, 36%, 56%)
CMYKcmyk(3.5%, 35.7%, 0%, 43.9%)
CIE-LABlab(45.69, 27.80, -20.62)
CIE-LCHlch(45.69, 34.62, 323.43°)
OKLaboklab(54.29% 0.0755 -0.0562)
OKLCHoklch(54.29% 0.094 323.3)
XYZxyz(19.2658, 15.0414, 27.8697)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5C8F #618F5C
analogous
#705C8F #8A5C8F #8F5C7A
triadic
#8A5C8F #8F8A5C #5C8F8A
tetradic
#8A5C8F #8F705C #618F5C #5C7A8F
square
#8A5C8F #8F705C #618F5C #5C7A8F
split-complementary
#8A5C8F #7A8F5C #5C8F70
monochromatic
#422C45 #66446A #8A5C8F #A77DAB #C0A2C3

Accessibility & contrast

On white

5.24
#8A5C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8A5C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5C8F
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5C8F#FFFFFF#000000##FFFFFF
##8A5C8F1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576991
Deuteranopia (green-blind)
#626E8D
Tritanopia (blue-blind)
#8C616F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a5c8f;
/* rgb */ color: rgb(138, 92, 143);
/* oklch */ color: oklch(54.3% 0.094 323.3);
Tailwind
colors: {
  custom: {
    50: '#ad8bb0',
    500: '#8a5c8f',
    950: '#000000',
  },
}
SCSS
$custom: #8a5c8f;
$custom-light: #ad8bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5c8f",
  "rgb": {
    "r": 138,
    "g": 92,
    "b": 143
  },
  "hsl": {
    "h": 294.118,
    "s": 21.702,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54294,
    "c": 0.09412,
    "h": 323.3
  },
  "luminance": 0.15041
}

Semantic roles & 50–950 ramp

primary
#8A5C8F
secondary
#98B195
accent
#BE6A72
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100C10
muted
#7F7D7F

Preview Lab

Preview with #8A5C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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