#8A5899#8A5899

#8A5899 is a mid, moderate purple. Relative luminance 0.147; OKLCH L 54.1% C 0.113 H 318.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8A5899
RGBrgb(138, 88, 153)
HSLhsl(286, 27%, 47%)
HSVhsv(286, 42%, 60%)
CMYKcmyk(9.8%, 42.5%, 0%, 40%)
CIE-LABlab(45.20, 32.22, -27.36)
CIE-LCHlch(45.20, 42.27, 319.67°)
OKLaboklab(54.07% 0.0841 -0.0754)
OKLCHoklch(54.07% 0.113 318.1)
XYZxyz(19.7199, 14.6832, 31.9262)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5899 #679958
analogous
#6A5899 #8A5899 #995888
triadic
#8A5899 #998A58 #58998A
tetradic
#8A5899 #996A58 #679958 #588899
square
#8A5899 #996A58 #679958 #588899
split-complementary
#8A5899 #889958 #58996A
monochromatic
#442B4B #674272 #8A5899 #A67BB3 #C0A2C9

Accessibility & contrast

On white

5.33
#8A5899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8A5899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5899
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5899#FFFFFF#000000##FFFFFF
##8A58991.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E689B
Deuteranopia (green-blind)
#5B6D97
Tritanopia (blue-blind)
#8A6071
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a5899;
/* rgb */ color: rgb(138, 88, 153);
/* oklch */ color: oklch(54.1% 0.113 318.1);
Tailwind
colors: {
  custom: {
    50: '#ad88b7',
    500: '#8a5899',
    950: '#000000',
  },
}
SCSS
$custom: #8a5899;
$custom-light: #ad88b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5899",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 153
  },
  "hsl": {
    "h": 286.154,
    "s": 26.971,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54065,
    "c": 0.11297,
    "h": 318.1
  },
  "luminance": 0.14683
}

Semantic roles & 50–950 ramp

primary
#8A5899
secondary
#9DB796
accent
#C3647A
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A5899

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

Preview Lab → · Contrast checker → · Palette generator →

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