#8A668A#8A668A

#8A668A is a mid, moderate purple. Relative luminance 0.167; OKLCH L 55.9% C 0.069 H 326.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8A668A
RGBrgb(138, 102, 138)
HSLhsl(300, 15%, 47%)
HSVhsv(300, 26%, 54%)
CMYKcmyk(0%, 26.1%, 0%, 45.9%)
CIE-LABlab(47.93, 20.93, -14.21)
CIE-LCHlch(47.93, 25.30, 325.82°)
OKLaboklab(55.94% 0.0578 -0.0383)
OKLCHoklch(55.94% 0.069 326.5)
XYZxyz(19.8196, 16.7416, 26.2272)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A668A #668A66
analogous
#78668A #8A668A #8A6678
triadic
#8A668A #8A8A66 #668A8A
tetradic
#8A668A #8A7866 #668A66 #66788A
square
#8A668A #8A7866 #668A66 #66788A
split-complementary
#8A668A #788A66 #668A78
monochromatic
#443244 #674C67 #8A668A #A687A6 #C0AAC0

Accessibility & contrast

On white

4.83
#8A668A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8A668A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A668A
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A668A#FFFFFF#000000##FFFFFF
##8A668A1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646F8B
Deuteranopia (green-blind)
#6C7389
Tritanopia (blue-blind)
#8C6973
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a668a;
/* rgb */ color: rgb(138, 102, 138);
/* oklch */ color: oklch(55.9% 0.069 326.5);
Tailwind
colors: {
  custom: {
    50: '#ac92ac',
    500: '#8a668a',
    950: '#000000',
  },
}
SCSS
$custom: #8a668a;
$custom-light: #ac92ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a668a",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 15,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55935,
    "c": 0.06935,
    "h": 326.5
  },
  "luminance": 0.16741
}

Semantic roles & 50–950 ramp

primary
#8A668A
secondary
#9DAF9D
accent
#B87070
background
#FAF9FA
surface
#F4F1F4
border
#CECBCE
text
#100D10
muted
#7F7E7F

Preview Lab

Preview with #8A668A

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

Preview Lab → · Contrast checker → · Palette generator →

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