#8A6A99#8A6A99

#8A6A99 is a mid, moderate purple. Relative luminance 0.180; OKLCH L 57.3% C 0.080 H 314.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8A6A99
RGBrgb(138, 106, 153)
HSLhsl(281, 19%, 51%)
HSVhsv(281, 31%, 60%)
CMYKcmyk(9.8%, 30.7%, 0%, 40%)
CIE-LABlab(49.51, 21.73, -20.69)
CIE-LCHlch(49.51, 30.00, 316.41°)
OKLaboklab(57.33% 0.056 -0.0565)
OKLCHoklch(57.33% 0.08 314.7)
XYZxyz(21.3841, 18.0116, 32.4809)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6A99 #79996A
analogous
#726A99 #8A6A99 #996A90
triadic
#8A6A99 #998A6A #6A998A
tetradic
#8A6A99 #99726A #79996A #6A9099
square
#8A6A99 #99726A #79996A #6A9099
split-complementary
#8A6A99 #90996A #6A9972
monochromatic
#493851 #6A5075 #8A6A99 #A78EB2 #C3B3CB

Accessibility & contrast

On white

4.56
#8A6A99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8A6A99 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6A99
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6A99#FFFFFF#000000##000000
##8A6A991.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#63749B
Deuteranopia (green-blind)
#6A7798
Tritanopia (blue-blind)
#89707B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a6a99;
/* rgb */ color: rgb(138, 106, 153);
/* oklch */ color: oklch(57.3% 0.080 314.7);
Tailwind
colors: {
  custom: {
    50: '#ac95b7',
    500: '#8a6a99',
    950: '#000000',
  },
}
SCSS
$custom: #8a6a99;
$custom-light: #ac95b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6a99",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 153
  },
  "hsl": {
    "h": 280.851,
    "s": 18.725,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57331,
    "c": 0.07954,
    "h": 314.7
  },
  "luminance": 0.18011
}

Semantic roles & 50–950 ramp

primary
#8A6A99
secondary
#ACBAA5
accent
#BB6C86
background
#FAF9FB
surface
#F4F1F6
border
#CECBD0
text
#100D11
muted
#7F7E80

Preview Lab

Preview with #8A6A99

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

Preview Lab → · Contrast checker → · Palette generator →

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