#8A6899#8A6899

#8A6899 is a mid, moderate purple. Relative luminance 0.176; OKLCH L 57.0% C 0.083 H 315.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8A6899
RGBrgb(138, 104, 153)
HSLhsl(282, 19%, 50%)
HSVhsv(282, 32%, 60%)
CMYKcmyk(9.8%, 32%, 0%, 40%)
CIE-LABlab(49.01, 22.91, -21.45)
CIE-LCHlch(49.01, 31.38, 316.88°)
OKLaboklab(56.95% 0.0591 -0.0587)
OKLCHoklch(56.95% 0.083 315.2)
XYZxyz(21.1804, 17.6042, 32.4130)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6899 #779968
analogous
#716899 #8A6899 #99688F
triadic
#8A6899 #998A68 #68998A
tetradic
#8A6899 #997168 #779968 #688F99
square
#8A6899 #997168 #779968 #688F99
split-complementary
#8A6899 #8F9968 #689971
monochromatic
#483650 #694F75 #8A6899 #A68DB2 #C3B1CA

Accessibility & contrast

On white

4.65
#8A6899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8A6899 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6899
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6899#FFFFFF#000000##FFFFFF
##8A68991.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61729B
Deuteranopia (green-blind)
#697597
Tritanopia (blue-blind)
#896E7A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a6899;
/* rgb */ color: rgb(138, 104, 153);
/* oklch */ color: oklch(57.0% 0.083 315.2);
Tailwind
colors: {
  custom: {
    50: '#ad93b7',
    500: '#8a6899',
    950: '#000000',
  },
}
SCSS
$custom: #8a6899;
$custom-light: #ad93b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6899",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 153
  },
  "hsl": {
    "h": 281.633,
    "s": 19.368,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56951,
    "c": 0.08329,
    "h": 315.2
  },
  "luminance": 0.17604
}

Semantic roles & 50–950 ramp

primary
#8A6899
secondary
#AAB9A3
accent
#BC6C84
background
#FAF9FB
surface
#F4F1F6
border
#CECBD0
text
#100D11
muted
#7F7E80

Preview Lab

Preview with #8A6899

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

Preview Lab → · Contrast checker → · Palette generator →

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