#8A5D83#8A5D83

#8A5D83 is a mid, moderate purple. Relative luminance 0.149; OKLCH L 54.0% C 0.080 H 332.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8A5D83
RGBrgb(138, 93, 131)
HSLhsl(309, 19%, 45%)
HSVhsv(309, 33%, 54%)
CMYKcmyk(0%, 32.6%, 5.1%, 45.9%)
CIE-LABlab(45.46, 24.82, -13.78)
CIE-LCHlch(45.46, 28.39, 330.97°)
OKLaboklab(53.96% 0.0704 -0.037)
OKLCHoklch(53.96% 0.08 332.2)
XYZxyz(18.4921, 14.8714, 23.3647)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5D83 #5D8A64
analogous
#7A5D8A #8A5D83 #8A5D6C
triadic
#8A5D83 #838A5D #5D838A
tetradic
#8A5D83 #8A7A5D #5D8A64 #5D6C8A
square
#8A5D83 #8A7A5D #5D8A64 #5D6C8A
split-complementary
#8A5D83 #6C8A5D #5D8A7A
monochromatic
#412C3E #654460 #8A5D83 #A77DA1 #C0A1BB

Accessibility & contrast

On white

5.28
#8A5D83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8A5D83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5D83
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5D83#FFFFFF#000000##FFFFFF
##8A5D831.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6884
Deuteranopia (green-blind)
#676E82
Tritanopia (blue-blind)
#8E5F6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a5d83;
/* rgb */ color: rgb(138, 93, 131);
/* oklch */ color: oklch(54.0% 0.080 332.2);
Tailwind
colors: {
  custom: {
    50: '#ad8ba7',
    500: '#8a5d83',
    950: '#000000',
  },
}
SCSS
$custom: #8a5d83;
$custom-light: #ad8ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5d83",
  "rgb": {
    "r": 138,
    "g": 93,
    "b": 131
  },
  "hsl": {
    "h": 309.333,
    "s": 19.481,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53961,
    "c": 0.07951,
    "h": 332.2
  },
  "luminance": 0.14871
}

Semantic roles & 50–950 ramp

primary
#8A5D83
secondary
#95AE99
accent
#BC786C
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100C0F
muted
#7F7D7F

Preview Lab

Preview with #8A5D83

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

Preview Lab → · Contrast checker → · Palette generator →

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