#8E668D#8E668D

#8E668D is a mid, moderate purple. Relative luminance 0.172; OKLCH L 56.5% C 0.076 H 327.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8E668D
RGBrgb(142, 102, 141)
HSLhsl(302, 16%, 48%)
HSVhsv(302, 28%, 56%)
CMYKcmyk(0%, 28.2%, 0.7%, 44.3%)
CIE-LABlab(48.48, 22.95, -15.12)
CIE-LCHlch(48.48, 27.48, 326.62°)
OKLaboklab(56.49% 0.0637 -0.0408)
OKLCHoklch(56.49% 0.076 327.3)
XYZxyz(20.7140, 17.1773, 27.4185)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E668D #668E67
analogous
#7B668E #8E668D #8E6679
triadic
#8E668D #8D8E66 #668D8E
tetradic
#8E668D #8E7B66 #668E67 #66798E
square
#8E668D #8E7B66 #668E67 #66798E
split-complementary
#8E668D #798E66 #668E7B
monochromatic
#473346 #6A4C6A #8E668D #A988A9 #C3ABC2

Accessibility & contrast

On white

4.73
#8E668D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#8E668D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E668D
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E668D#FFFFFF#000000##FFFFFF
##8E668D1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64708F
Deuteranopia (green-blind)
#6D758C
Tritanopia (blue-blind)
#916974
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8e668d;
/* rgb */ color: rgb(142, 102, 141);
/* oklch */ color: oklch(56.5% 0.076 327.3);
Tailwind
colors: {
  custom: {
    50: '#af92ae',
    500: '#8e668d',
    950: '#000000',
  },
}
SCSS
$custom: #8e668d;
$custom-light: #af92ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8e668d",
  "rgb": {
    "r": 142,
    "g": 102,
    "b": 141
  },
  "hsl": {
    "h": 301.5,
    "s": 16.393,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56491,
    "c": 0.07561,
    "h": 327.3
  },
  "luminance": 0.17177
}

Semantic roles & 50–950 ramp

primary
#8E668D
secondary
#9EB29E
accent
#B9716F
background
#FAF9FA
surface
#F4F1F4
border
#CECBCE
text
#100D10
muted
#7F7E7F

Preview Lab

Preview with #8E668D

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

Preview Lab → · Contrast checker → · Palette generator →

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