#8A6898#8A6898

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

Color values

HEX#8A6898
RGBrgb(138, 104, 152)
HSLhsl(283, 19%, 50%)
HSVhsv(283, 32%, 60%)
CMYKcmyk(9.2%, 31.6%, 0%, 40.4%)
CIE-LABlab(48.97, 22.69, -20.92)
CIE-LCHlch(48.97, 30.86, 317.32°)
OKLaboklab(56.91% 0.0589 -0.0572)
OKLCHoklch(56.91% 0.082 315.8)
XYZxyz(21.0982, 17.5713, 31.9798)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6898 #769868
analogous
#726898 #8A6898 #98688E
triadic
#8A6898 #988A68 #68988A
tetradic
#8A6898 #987268 #769868 #688E98
square
#8A6898 #987268 #769868 #688E98
split-complementary
#8A6898 #8E9868 #689872
monochromatic
#48364F #694F74 #8A6898 #A68CB1 #C2B1CA

Accessibility & contrast

On white

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

On black

4.51
#8A6898 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8A6898#FFFFFF#000000##FFFFFF
##8A68981.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61729A
Deuteranopia (green-blind)
#697596
Tritanopia (blue-blind)
#8A6E79
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a6898;
/* rgb */ color: rgb(138, 104, 152);
/* oklch */ color: oklch(56.9% 0.082 315.8);
Tailwind
colors: {
  custom: {
    50: '#ad93b6',
    500: '#8a6898',
    950: '#000000',
  },
}
SCSS
$custom: #8a6898;
$custom-light: #ad93b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6898",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 152
  },
  "hsl": {
    "h": 282.5,
    "s": 18.898,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56907,
    "c": 0.08205,
    "h": 315.8
  },
  "luminance": 0.17571
}

Semantic roles & 50–950 ramp

primary
#8A6898
secondary
#A9B9A3
accent
#BC6C83
background
#FAF9FB
surface
#F4F1F6
border
#CECBD0
text
#100D11
muted
#7F7E80

Preview Lab

Preview with #8A6898

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

Preview Lab → · Contrast checker → · Palette generator →

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