#8A6399#8A6399

#8A6399 is a mid, moderate purple. Relative luminance 0.166; OKLCH L 56.0% C 0.093 H 316.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8A6399
RGBrgb(138, 99, 153)
HSLhsl(283, 21%, 49%)
HSVhsv(283, 35%, 60%)
CMYKcmyk(9.8%, 35.3%, 0%, 40%)
CIE-LABlab(47.79, 25.84, -23.34)
CIE-LCHlch(47.79, 34.82, 317.91°)
OKLaboklab(56.02% 0.067 -0.064)
OKLCHoklch(56.02% 0.093 316.3)
XYZxyz(20.6920, 16.6273, 32.2502)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6399 #729963
analogous
#6F6399 #8A6399 #99638D
triadic
#8A6399 #998A63 #63998A
tetradic
#8A6399 #996F63 #729963 #638D99
square
#8A6399 #996F63 #729963 #638D99
split-complementary
#8A6399 #8D9963 #63996F
monochromatic
#47334F #684B74 #8A6399 #A688B2 #C2ADCA

Accessibility & contrast

On white

4.86
#8A6399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8A6399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6399
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6399#FFFFFF#000000##FFFFFF
##8A63991.004.864.334.86
#FFFFFF4.861.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6F9B
Deuteranopia (green-blind)
#647397
Tritanopia (blue-blind)
#8A6A77
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8a6399;
/* rgb */ color: rgb(138, 99, 153);
/* oklch */ color: oklch(56.0% 0.093 316.3);
Tailwind
colors: {
  custom: {
    50: '#ad90b7',
    500: '#8a6399',
    950: '#000000',
  },
}
SCSS
$custom: #8a6399;
$custom-light: #ad90b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6399",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 153
  },
  "hsl": {
    "h": 283.333,
    "s": 21.429,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56019,
    "c": 0.09266,
    "h": 316.3
  },
  "luminance": 0.16627
}

Semantic roles & 50–950 ramp

primary
#8A6399
secondary
#A6B89F
accent
#BE6A81
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C11
muted
#7F7D80

Preview Lab

Preview with #8A6399

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

Preview Lab → · Contrast checker → · Palette generator →

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