#8A799C#8A799C

#8A799C is a mid, muted violet. Relative luminance 0.215; OKLCH L 60.4% C 0.056 H 306.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8A799C
RGBrgb(138, 121, 156)
HSLhsl(269, 15%, 54%)
HSVhsv(269, 22%, 61%)
CMYKcmyk(11.5%, 22.4%, 0%, 38.8%)
CIE-LABlab(53.47, 13.57, -16.39)
CIE-LCHlch(53.47, 21.28, 309.62°)
OKLaboklab(60.41% 0.0334 -0.0446)
OKLCHoklch(60.41% 0.056 306.8)
XYZxyz(23.3183, 21.4784, 34.3634)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A799C #8B9C79
analogous
#797A9C #8A799C #9C799C
triadic
#8A799C #9C8A79 #799C8A
tetradic
#8A799C #9C797A #8B9C79 #799C9C
square
#8A799C #9C797A #8B9C79 #799C9C
split-complementary
#8A799C #9C9C79 #7A9C79
monochromatic
#4D4259 #6B5C7C #8A799C #A99CB6 #C7BFD0

Accessibility & contrast

On white

3.97
#8A799C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#8A799C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A799C
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A799C#FFFFFF#000000##000000
##8A799C1.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#737F9E
Deuteranopia (green-blind)
#76809B
Tritanopia (blue-blind)
#887E85
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a799c;
/* rgb */ color: rgb(138, 121, 156);
/* oklch */ color: oklch(60.4% 0.056 306.8);
Tailwind
colors: {
  custom: {
    50: '#ac9fb9',
    500: '#8a799c',
    950: '#000000',
  },
}
SCSS
$custom: #8a799c;
$custom-light: #ac9fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a799c",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 156
  },
  "hsl": {
    "h": 269.143,
    "s": 15.021,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60409,
    "c": 0.05566,
    "h": 306.8
  },
  "luminance": 0.21478
}

Semantic roles & 50–950 ramp

primary
#8A799C
secondary
#B9C0B1
accent
#B87095
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #8A799C

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

Preview Lab → · Contrast checker → · Palette generator →

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