#8A668F#8A668F

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

Color values

HEX#8A668F
RGBrgb(138, 102, 143)
HSLhsl(293, 17%, 48%)
HSVhsv(293, 29%, 56%)
CMYKcmyk(3.5%, 28.7%, 0%, 43.9%)
CIE-LABlab(48.12, 21.95, -16.90)
CIE-LCHlch(48.12, 27.70, 322.41°)
OKLaboklab(56.14% 0.0594 -0.0458)
OKLCHoklch(56.14% 0.075 322.3)
XYZxyz(20.1899, 16.8897, 28.1778)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A668F #6B8F66
analogous
#75668F #8A668F #8F667F
triadic
#8A668F #8F8A66 #668F8A
tetradic
#8A668F #8F7566 #6B8F66 #667F8F
square
#8A668F #8F7566 #6B8F66 #667F8F
split-complementary
#8A668F #7F8F66 #668F75
monochromatic
#453348 #684D6B #8A668F #A688AA #C1ACC4

Accessibility & contrast

On white

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

On black

4.38
#8A668F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8A668F#FFFFFF#000000##FFFFFF
##8A668F1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627091
Deuteranopia (green-blind)
#6A748E
Tritanopia (blue-blind)
#8B6A75
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a668f;
/* rgb */ color: rgb(138, 102, 143);
/* oklch */ color: oklch(56.1% 0.075 322.3);
Tailwind
colors: {
  custom: {
    50: '#ac92b0',
    500: '#8a668f',
    950: '#000000',
  },
}
SCSS
$custom: #8a668f;
$custom-light: #ac92b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a668f",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 143
  },
  "hsl": {
    "h": 292.683,
    "s": 16.735,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5614,
    "c": 0.075,
    "h": 322.3
  },
  "luminance": 0.16889
}

Semantic roles & 50–950 ramp

primary
#8A668F
secondary
#A1B39E
accent
#B96E78
background
#FAF9FA
surface
#F4F1F4
border
#CECBCE
text
#100D10
muted
#7F7E7F

Preview Lab

Preview with #8A668F

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

Preview Lab → · Contrast checker → · Palette generator →

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