#8A5999#8A5999

#8A5999 is a mid, moderate purple. Relative luminance 0.148; OKLCH L 54.2% C 0.111 H 318.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8A5999
RGBrgb(138, 89, 153)
HSLhsl(286, 26%, 47%)
HSVhsv(286, 42%, 60%)
CMYKcmyk(9.8%, 41.8%, 0%, 40%)
CIE-LABlab(45.43, 31.65, -27.00)
CIE-LCHlch(45.43, 41.60, 319.53°)
OKLaboklab(54.24% 0.0826 -0.0744)
OKLCHoklch(54.24% 0.111 318)
XYZxyz(19.8026, 14.8485, 31.9537)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5999 #689959
analogous
#6A5999 #8A5999 #995988
triadic
#8A5999 #998A59 #59998A
tetradic
#8A5999 #996A59 #689959 #598899
square
#8A5999 #996A59 #689959 #598899
split-complementary
#8A5999 #889959 #59996A
monochromatic
#442C4C #674272 #8A5999 #A67CB3 #C0A3C9

Accessibility & contrast

On white

5.29
#8A5999 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A5999
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5999#FFFFFF#000000##FFFFFF
##8A59991.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F689B
Deuteranopia (green-blind)
#5C6D97
Tritanopia (blue-blind)
#8A6172
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a5999;
/* rgb */ color: rgb(138, 89, 153);
/* oklch */ color: oklch(54.2% 0.111 318.0);
Tailwind
colors: {
  custom: {
    50: '#ad89b7',
    500: '#8a5999',
    950: '#000000',
  },
}
SCSS
$custom: #8a5999;
$custom-light: #ad89b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5999",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 153
  },
  "hsl": {
    "h": 285.938,
    "s": 26.446,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54237,
    "c": 0.11114,
    "h": 318
  },
  "luminance": 0.14848
}

Semantic roles & 50–950 ramp

primary
#8A5999
secondary
#9EB797
accent
#C3657B
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A5999

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

Preview Lab → · Contrast checker → · Palette generator →

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