#8A5699#8A5699

#8A5699 is a mid, moderate purple. Relative luminance 0.144; OKLCH L 53.7% C 0.117 H 318.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8A5699
RGBrgb(138, 86, 153)
HSLhsl(287, 28%, 47%)
HSVhsv(287, 44%, 60%)
CMYKcmyk(9.8%, 43.8%, 0%, 40%)
CIE-LABlab(44.74, 33.36, -28.06)
CIE-LCHlch(44.74, 43.59, 319.93°)
OKLaboklab(53.73% 0.0872 -0.0774)
OKLCHoklch(53.73% 0.117 318.4)
XYZxyz(19.5580, 14.3594, 31.8722)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5699 #659956
analogous
#695699 #8A5699 #995687
triadic
#8A5699 #998A56 #56998A
tetradic
#8A5699 #996956 #659956 #568799
square
#8A5699 #996956 #659956 #568799
split-complementary
#8A5699 #879956 #569969
monochromatic
#432A4B #674072 #8A5699 #A679B4 #C0A0CA

Accessibility & contrast

On white

5.42
#8A5699 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8A5699 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5699
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5699#FFFFFF#000000##FFFFFF
##8A56991.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C669B
Deuteranopia (green-blind)
#596C97
Tritanopia (blue-blind)
#8A5F70
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a5699;
/* rgb */ color: rgb(138, 86, 153);
/* oklch */ color: oklch(53.7% 0.117 318.4);
Tailwind
colors: {
  custom: {
    50: '#ad87b7',
    500: '#8a5699',
    950: '#000000',
  },
}
SCSS
$custom: #8a5699;
$custom-light: #ad87b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5699",
  "rgb": {
    "r": 138,
    "g": 86,
    "b": 153
  },
  "hsl": {
    "h": 286.567,
    "s": 28.033,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53726,
    "c": 0.1166,
    "h": 318.4
  },
  "luminance": 0.14359
}

Semantic roles & 50–950 ramp

primary
#8A5699
secondary
#9CB794
accent
#C46379
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A5699

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

Preview Lab → · Contrast checker → · Palette generator →

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