#8A678F#8A678F

#8A678F is a mid, moderate purple. Relative luminance 0.171; OKLCH L 56.3% C 0.073 H 322.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8A678F
RGBrgb(138, 103, 143)
HSLhsl(293, 16%, 48%)
HSVhsv(293, 28%, 56%)
CMYKcmyk(3.5%, 28%, 0%, 43.9%)
CIE-LABlab(48.37, 21.36, -16.52)
CIE-LCHlch(48.37, 27.00, 322.29°)
OKLaboklab(56.33% 0.0578 -0.0448)
OKLCHoklch(56.33% 0.073 322.2)
XYZxyz(20.2888, 17.0875, 28.2107)
Luminance0.1709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A678F #6C8F67
analogous
#76678F #8A678F #8F6780
triadic
#8A678F #8F8A67 #678F8A
tetradic
#8A678F #8F7667 #6C8F67 #67808F
square
#8A678F #8F7667 #6C8F67 #67808F
split-complementary
#8A678F #808F67 #678F76
monochromatic
#453448 #684D6B #8A678F #A689AA #C1ADC4

Accessibility & contrast

On white

4.75
#8A678F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8A678F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A678F
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A678F#FFFFFF#000000##FFFFFF
##8A678F1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637091
Deuteranopia (green-blind)
#6B748E
Tritanopia (blue-blind)
#8B6B75
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a678f;
/* rgb */ color: rgb(138, 103, 143);
/* oklch */ color: oklch(56.3% 0.073 322.2);
Tailwind
colors: {
  custom: {
    50: '#ac92b0',
    500: '#8a678f',
    950: '#000000',
  },
}
SCSS
$custom: #8a678f;
$custom-light: #ac92b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a678f",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 143
  },
  "hsl": {
    "h": 292.5,
    "s": 16.26,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56331,
    "c": 0.07309,
    "h": 322.2
  },
  "luminance": 0.17087
}

Semantic roles & 50–950 ramp

primary
#8A678F
secondary
#A2B39F
accent
#B96F78
background
#FAF9FA
surface
#F4F1F4
border
#CECBCE
text
#100D10
muted
#7F7E7F

Preview Lab

Preview with #8A678F

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

Preview Lab → · Contrast checker → · Palette generator →

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