#8A768B#8A768B

#8A768B is a mid, muted purple. Relative luminance 0.202; OKLCH L 59.1% C 0.039 H 324.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8A768B
RGBrgb(138, 118, 139)
HSLhsl(297, 8%, 50%)
HSVhsv(297, 15%, 55%)
CMYKcmyk(0.7%, 15.1%, 0%, 45.5%)
CIE-LABlab(52.09, 11.72, -8.54)
CIE-LCHlch(52.09, 14.50, 323.92°)
OKLaboklab(59.15% 0.0321 -0.0228)
OKLCHoklch(59.15% 0.039 324.6)
XYZxyz(21.6193, 20.2246, 27.1859)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A768B #778B76
analogous
#7F768B #8A768B #8B7681
triadic
#8A768B #8B8A76 #768B8A
tetradic
#8A768B #8B7F76 #778B76 #76818B
square
#8A768B #8B7F76 #778B76 #76818B
split-complementary
#8A768B #818B76 #768B7F
monochromatic
#483E49 #695A6A #8A768B #A697A7 #C3B8C3

Accessibility & contrast

On white

4.16
#8A768B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8A768B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A768B
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A768B#FFFFFF#000000##000000
##8A768B1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#757B8C
Deuteranopia (green-blind)
#797D8A
Tritanopia (blue-blind)
#8B787D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a768b;
/* rgb */ color: rgb(138, 118, 139);
/* oklch */ color: oklch(59.1% 0.039 324.6);
Tailwind
colors: {
  custom: {
    50: '#ac9dac',
    500: '#8a768b',
    950: '#000000',
  },
}
SCSS
$custom: #8a768b;
$custom-light: #ac9dac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a768b",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 139
  },
  "hsl": {
    "h": 297.143,
    "s": 8.3,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59147,
    "c": 0.03939,
    "h": 324.6
  },
  "luminance": 0.20224
}

Semantic roles & 50–950 ramp

primary
#8A768B
secondary
#AAB3AA
accent
#B17679
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E10
muted
#7F7E7F

Preview Lab

Preview with #8A768B

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

Preview Lab → · Contrast checker → · Palette generator →

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