#8A5C8D#8A5C8D

#8A5C8D is a mid, moderate purple. Relative luminance 0.150; OKLCH L 54.2% C 0.092 H 324.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8A5C8D
RGBrgb(138, 92, 141)
HSLhsl(296, 21%, 46%)
HSVhsv(296, 35%, 55%)
CMYKcmyk(2.1%, 34.8%, 0%, 44.7%)
CIE-LABlab(45.61, 27.39, -19.55)
CIE-LCHlch(45.61, 33.65, 324.48°)
OKLaboklab(54.2% 0.075 -0.0532)
OKLCHoklch(54.2% 0.092 324.6)
XYZxyz(19.1156, 14.9813, 27.0789)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5C8D #5F8D5C
analogous
#715C8D #8A5C8D #8D5C77
triadic
#8A5C8D #8D8A5C #5C8D8A
tetradic
#8A5C8D #8D715C #5F8D5C #5C778D
square
#8A5C8D #8D715C #5F8D5C #5C778D
split-complementary
#8A5C8D #778D5C #5C8D71
monochromatic
#422C43 #664468 #8A5C8D #A77CAA #C0A1C2

Accessibility & contrast

On white

5.25
#8A5C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8A5C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5C8D
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5C8D#FFFFFF#000000##FFFFFF
##8A5C8D1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58688F
Deuteranopia (green-blind)
#636E8B
Tritanopia (blue-blind)
#8C616E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a5c8d;
/* rgb */ color: rgb(138, 92, 141);
/* oklch */ color: oklch(54.2% 0.092 324.6);
Tailwind
colors: {
  custom: {
    50: '#ad8bae',
    500: '#8a5c8d',
    950: '#000000',
  },
}
SCSS
$custom: #8a5c8d;
$custom-light: #ad8bae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5c8d",
  "rgb": {
    "r": 138,
    "g": 92,
    "b": 141
  },
  "hsl": {
    "h": 296.327,
    "s": 21.03,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54204,
    "c": 0.09191,
    "h": 324.6
  },
  "luminance": 0.14981
}

Semantic roles & 50–950 ramp

primary
#8A5C8D
secondary
#96B095
accent
#BE6A6F
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100C10
muted
#7F7D7F

Preview Lab

Preview with #8A5C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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