#8A799A#8A799A

#8A799A is a mid, muted violet. Relative luminance 0.214; OKLCH L 60.3% C 0.053 H 308.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8A799A
RGBrgb(138, 121, 154)
HSLhsl(271, 14%, 54%)
HSVhsv(271, 21%, 60%)
CMYKcmyk(10.4%, 21.4%, 0%, 39.6%)
CIE-LABlab(53.40, 13.13, -15.34)
CIE-LCHlch(53.40, 20.19, 310.56°)
OKLaboklab(60.33% 0.0327 -0.0416)
OKLCHoklch(60.33% 0.053 308.1)
XYZxyz(23.1503, 21.4112, 33.4788)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A799A #899A79
analogous
#7A799A #8A799A #9A799A
triadic
#8A799A #9A8A79 #799A8A
tetradic
#8A799A #9A7A79 #899A79 #799A9A
square
#8A799A #9A7A79 #899A79 #799A9A
split-complementary
#8A799A #9A9A79 #799A7A
monochromatic
#4D4257 #6B5C7A #8A799A #A89CB4 #C7BFCF

Accessibility & contrast

On white

3.98
#8A799A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#8A799A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A799A
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A799A#FFFFFF#000000##000000
##8A799A1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#747F9B
Deuteranopia (green-blind)
#778099
Tritanopia (blue-blind)
#887D84
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a799a;
/* rgb */ color: rgb(138, 121, 154);
/* oklch */ color: oklch(60.3% 0.053 308.1);
Tailwind
colors: {
  custom: {
    50: '#ac9fb7',
    500: '#8a799a',
    950: '#000000',
  },
}
SCSS
$custom: #8a799a;
$custom-light: #ac9fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a799a",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 154
  },
  "hsl": {
    "h": 270.909,
    "s": 14.043,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60329,
    "c": 0.05292,
    "h": 308.1
  },
  "luminance": 0.21411
}

Semantic roles & 50–950 ramp

primary
#8A799A
secondary
#B7BEB0
accent
#B77193
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #8A799A

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

Preview Lab → · Contrast checker → · Palette generator →

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