#8A668E#8A668E

#8A668E is a mid, moderate purple. Relative luminance 0.169; OKLCH L 56.1% C 0.074 H 323.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8A668E
RGBrgb(138, 102, 142)
HSLhsl(294, 16%, 48%)
HSVhsv(294, 28%, 56%)
CMYKcmyk(2.8%, 28.2%, 0%, 44.3%)
CIE-LABlab(48.08, 21.74, -16.36)
CIE-LCHlch(48.08, 27.21, 323.04°)
OKLaboklab(56.1% 0.0591 -0.0443)
OKLCHoklch(56.1% 0.074 323.1)
XYZxyz(20.1145, 16.8596, 27.7806)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A668E #6A8E66
analogous
#76668E #8A668E #8E667E
triadic
#8A668E #8E8A66 #668E8A
tetradic
#8A668E #8E7666 #6A8E66 #667E8E
square
#8A668E #8E7666 #6A8E66 #667E8E
split-complementary
#8A668E #7E8E66 #668E76
monochromatic
#453347 #674C6A #8A668E #A688A9 #C1ABC3

Accessibility & contrast

On white

4.80
#8A668E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A668E
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A668E#FFFFFF#000000##FFFFFF
##8A668E1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626F90
Deuteranopia (green-blind)
#6B748D
Tritanopia (blue-blind)
#8C6A74
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a668e;
/* rgb */ color: rgb(138, 102, 142);
/* oklch */ color: oklch(56.1% 0.074 323.1);
Tailwind
colors: {
  custom: {
    50: '#ac92af',
    500: '#8a668e',
    950: '#000000',
  },
}
SCSS
$custom: #8a668e;
$custom-light: #ac92af;
$custom-dark: #000000;
JSON
{
  "hex": "#8a668e",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 142
  },
  "hsl": {
    "h": 294,
    "s": 16.393,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56099,
    "c": 0.07385,
    "h": 323.1
  },
  "luminance": 0.16859
}

Semantic roles & 50–950 ramp

primary
#8A668E
secondary
#A0B29E
accent
#B96F76
background
#FAF9FA
surface
#F4F1F4
border
#CECBCE
text
#100D10
muted
#7F7E7F

Preview Lab

Preview with #8A668E

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

Preview Lab → · Contrast checker → · Palette generator →

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