#8A6788#8A6788

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

Color values

HEX#8A6788
RGBrgb(138, 103, 136)
HSLhsl(303, 15%, 47%)
HSVhsv(303, 25%, 54%)
CMYKcmyk(0%, 25.4%, 1.4%, 45.9%)
CIE-LABlab(48.11, 19.94, -12.75)
CIE-LCHlch(48.11, 23.66, 327.40°)
OKLaboklab(56.05% 0.0555 -0.0343)
OKLCHoklch(56.05% 0.065 328.3)
XYZxyz(19.7750, 16.8819, 25.5046)
Luminance0.1688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6788 #678A69
analogous
#7B678A #8A6788 #8A6776
triadic
#8A6788 #888A67 #67888A
tetradic
#8A6788 #8A7B67 #678A69 #67768A
square
#8A6788 #8A7B67 #678A69 #67768A
split-complementary
#8A6788 #768A67 #678A7B
monochromatic
#443343 #674D65 #8A6788 #A688A4 #C0ABBF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A6788#FFFFFF#000000##FFFFFF
##8A67881.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)
#656F89
Deuteranopia (green-blind)
#6D7487
Tritanopia (blue-blind)
#8D6972
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a6788;
/* rgb */ color: rgb(138, 103, 136);
/* oklch */ color: oklch(56.0% 0.065 328.3);
Tailwind
colors: {
  custom: {
    50: '#ac92aa',
    500: '#8a6788',
    950: '#000000',
  },
}
SCSS
$custom: #8a6788;
$custom-light: #ac92aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6788",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 136
  },
  "hsl": {
    "h": 303.429,
    "s": 14.523,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56047,
    "c": 0.06523,
    "h": 328.3
  },
  "luminance": 0.16881
}

Semantic roles & 50–950 ramp

primary
#8A6788
secondary
#9DAF9E
accent
#B77570
background
#FAF9FA
surface
#F4F1F4
border
#CECBCE
text
#100D10
muted
#7F7E7F

Preview Lab

Preview with #8A6788

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

Preview Lab → · Contrast checker → · Palette generator →

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