#8A5E83#8A5E83

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

Color values

HEX#8A5E83
RGBrgb(138, 94, 131)
HSLhsl(310, 19%, 45%)
HSVhsv(310, 32%, 54%)
CMYKcmyk(0%, 31.9%, 5.1%, 45.9%)
CIE-LABlab(45.70, 24.24, -13.41)
CIE-LCHlch(45.70, 27.70, 331.05°)
OKLaboklab(54.15% 0.0687 -0.036)
OKLCHoklch(54.15% 0.078 332.3)
XYZxyz(18.5804, 15.0481, 23.3942)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5E83 #5E8A65
analogous
#7B5E8A #8A5E83 #8A5E6D
triadic
#8A5E83 #838A5E #5E838A
tetradic
#8A5E83 #8A7B5E #5E8A65 #5E6D8A
square
#8A5E83 #8A7B5E #5E8A65 #5E6D8A
split-complementary
#8A5E83 #6D8A5E #5E8A7B
monochromatic
#412C3E #664560 #8A5E83 #A77EA1 #C0A2BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A5E83#FFFFFF#000000##FFFFFF
##8A5E831.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)
#5D6884
Deuteranopia (green-blind)
#686E82
Tritanopia (blue-blind)
#8E606B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a5e83;
/* rgb */ color: rgb(138, 94, 131);
/* oklch */ color: oklch(54.1% 0.078 332.3);
Tailwind
colors: {
  custom: {
    50: '#ad8ca7',
    500: '#8a5e83',
    950: '#000000',
  },
}
SCSS
$custom: #8a5e83;
$custom-light: #ad8ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5e83",
  "rgb": {
    "r": 138,
    "g": 94,
    "b": 131
  },
  "hsl": {
    "h": 309.545,
    "s": 18.966,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54145,
    "c": 0.07758,
    "h": 332.3
  },
  "luminance": 0.15047
}

Semantic roles & 50–950 ramp

primary
#8A5E83
secondary
#96AE99
accent
#BC796C
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100C0F
muted
#7F7D7F

Preview Lab

Preview with #8A5E83

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

Preview Lab → · Contrast checker → · Palette generator →

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