#8A668C#8A668C

#8A668C is a mid, moderate purple. Relative luminance 0.168; OKLCH L 56.0% C 0.072 H 324.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8A668C
RGBrgb(138, 102, 140)
HSLhsl(297, 16%, 47%)
HSVhsv(297, 27%, 55%)
CMYKcmyk(1.4%, 27.1%, 0%, 45.1%)
CIE-LABlab(48.01, 21.33, -15.29)
CIE-LCHlch(48.01, 26.25, 324.37°)
OKLaboklab(56.02% 0.0584 -0.0413)
OKLCHoklch(56.02% 0.072 324.7)
XYZxyz(19.9657, 16.8000, 26.9968)
Luminance0.1680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A668C #688C66
analogous
#77668C #8A668C #8C667B
triadic
#8A668C #8C8A66 #668C8A
tetradic
#8A668C #8C7766 #688C66 #667B8C
square
#8A668C #8C7766 #688C66 #667B8C
split-complementary
#8A668C #7B8C66 #668C77
monochromatic
#443245 #674C69 #8A668C #A687A8 #C0ABC2

Accessibility & contrast

On white

4.82
#8A668C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8A668C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A668C
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A668C#FFFFFF#000000##FFFFFF
##8A668C1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636F8E
Deuteranopia (green-blind)
#6B738B
Tritanopia (blue-blind)
#8C6973
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a668c;
/* rgb */ color: rgb(138, 102, 140);
/* oklch */ color: oklch(56.0% 0.072 324.7);
Tailwind
colors: {
  custom: {
    50: '#ac92ad',
    500: '#8a668c',
    950: '#000000',
  },
}
SCSS
$custom: #8a668c;
$custom-light: #ac92ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8a668c",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 140
  },
  "hsl": {
    "h": 296.842,
    "s": 15.702,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56016,
    "c": 0.07157,
    "h": 324.7
  },
  "luminance": 0.16799
}

Semantic roles & 50–950 ramp

primary
#8A668C
secondary
#9EB19D
accent
#B86F73
background
#FAF9FA
surface
#F4F1F4
border
#CECBCE
text
#100D10
muted
#7F7E7F

Preview Lab

Preview with #8A668C

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

Preview Lab → · Contrast checker → · Palette generator →

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