#8A779C#8A779C

#8A779C is a mid, muted violet. Relative luminance 0.210; OKLCH L 60.0% C 0.059 H 307.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8A779C
RGBrgb(138, 119, 156)
HSLhsl(271, 16%, 54%)
HSVhsv(271, 24%, 61%)
CMYKcmyk(11.5%, 23.7%, 0%, 38.8%)
CIE-LABlab(52.95, 14.74, -17.19)
CIE-LCHlch(52.95, 22.65, 310.62°)
OKLaboklab(60.01% 0.0365 -0.0468)
OKLCHoklch(60.01% 0.059 307.9)
XYZxyz(23.0777, 20.9974, 34.2832)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A779C #899C77
analogous
#78779C #8A779C #9C779C
triadic
#8A779C #9C8A77 #779C8A
tetradic
#8A779C #9C7877 #899C77 #779C9C
square
#8A779C #9C7877 #899C77 #779C9C
split-complementary
#8A779C #9C9C77 #779C78
monochromatic
#4D4058 #6B5A7C #8A779C #A89AB6 #C7BED0

Accessibility & contrast

On white

4.04
#8A779C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8A779C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A779C
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A779C#FFFFFF#000000##000000
##8A779C1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#717E9E
Deuteranopia (green-blind)
#757F9B
Tritanopia (blue-blind)
#887C84
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a779c;
/* rgb */ color: rgb(138, 119, 156);
/* oklch */ color: oklch(60.0% 0.059 307.9);
Tailwind
colors: {
  custom: {
    50: '#ac9eb9',
    500: '#8a779c',
    950: '#000000',
  },
}
SCSS
$custom: #8a779c;
$custom-light: #ac9eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a779c",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 156
  },
  "hsl": {
    "h": 270.811,
    "s": 15.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60006,
    "c": 0.05931,
    "h": 307.9
  },
  "luminance": 0.20997
}

Semantic roles & 50–950 ramp

primary
#8A779C
secondary
#B7BFB0
accent
#B86F93
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #8A779C

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

Preview Lab → · Contrast checker → · Palette generator →

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