#8A5399#8A5399

#8A5399 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 53.2% C 0.122 H 318.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8A5399
RGBrgb(138, 83, 153)
HSLhsl(287, 30%, 46%)
HSVhsv(287, 46%, 60%)
CMYKcmyk(9.8%, 45.8%, 0%, 40%)
CIE-LABlab(44.08, 35.06, -29.11)
CIE-LCHlch(44.08, 45.57, 320.30°)
OKLaboklab(53.23% 0.0918 -0.0804)
OKLCHoklch(53.23% 0.122 318.8)
XYZxyz(19.3235, 13.8903, 31.7940)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5399 #629953
analogous
#675399 #8A5399 #995385
triadic
#8A5399 #998A53 #53998A
tetradic
#8A5399 #996753 #629953 #538599
square
#8A5399 #996753 #629953 #538599
split-complementary
#8A5399 #859953 #539967
monochromatic
#42284A #663D71 #8A5399 #A775B4 #C09DCA

Accessibility & contrast

On white

5.56
#8A5399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8A5399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5399
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5399#FFFFFF#000000##FFFFFF
##8A53991.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48649B
Deuteranopia (green-blind)
#576A97
Tritanopia (blue-blind)
#8A5C6F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a5399;
/* rgb */ color: rgb(138, 83, 153);
/* oklch */ color: oklch(53.2% 0.122 318.8);
Tailwind
colors: {
  custom: {
    50: '#ad85b7',
    500: '#8a5399',
    950: '#000000',
  },
}
SCSS
$custom: #8a5399;
$custom-light: #ad85b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5399",
  "rgb": {
    "r": 138,
    "g": 83,
    "b": 153
  },
  "hsl": {
    "h": 287.143,
    "s": 29.661,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53226,
    "c": 0.122,
    "h": 318.8
  },
  "luminance": 0.1389
}

Semantic roles & 50–950 ramp

primary
#8A5399
secondary
#99B791
accent
#C66277
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A5399

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

Preview Lab → · Contrast checker → · Palette generator →

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