#8A668D#8A668D

#8A668D is a mid, moderate purple. Relative luminance 0.168; OKLCH L 56.1% C 0.073 H 323.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8A668D
RGBrgb(138, 102, 141)
HSLhsl(295, 16%, 48%)
HSVhsv(295, 28%, 55%)
CMYKcmyk(2.1%, 27.7%, 0%, 44.7%)
CIE-LABlab(48.04, 21.54, -15.83)
CIE-LCHlch(48.04, 26.73, 323.69°)
OKLaboklab(56.06% 0.0588 -0.0428)
OKLCHoklch(56.06% 0.073 323.9)
XYZxyz(20.0398, 16.8297, 27.3869)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A668D #698D66
analogous
#77668D #8A668D #8D667C
triadic
#8A668D #8D8A66 #668D8A
tetradic
#8A668D #8D7766 #698D66 #667C8D
square
#8A668D #8D7766 #698D66 #667C8D
split-complementary
#8A668D #7C8D66 #668D77
monochromatic
#443346 #674C69 #8A668D #A688A9 #C1ABC2

Accessibility & contrast

On white

4.81
#8A668D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8A668D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A668D
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A668D#FFFFFF#000000##FFFFFF
##8A668D1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636F8F
Deuteranopia (green-blind)
#6B748C
Tritanopia (blue-blind)
#8C6A74
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a668d;
/* rgb */ color: rgb(138, 102, 141);
/* oklch */ color: oklch(56.1% 0.073 323.9);
Tailwind
colors: {
  custom: {
    50: '#ac92ae',
    500: '#8a668d',
    950: '#000000',
  },
}
SCSS
$custom: #8a668d;
$custom-light: #ac92ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a668d",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 141
  },
  "hsl": {
    "h": 295.385,
    "s": 16.049,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56057,
    "c": 0.07271,
    "h": 323.9
  },
  "luminance": 0.16829
}

Semantic roles & 50–950 ramp

primary
#8A668D
secondary
#9FB19E
accent
#B96F75
background
#FAF9FA
surface
#F4F1F4
border
#CECBCE
text
#100D10
muted
#7F7E7F

Preview Lab

Preview with #8A668D

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

Preview Lab → · Contrast checker → · Palette generator →

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