#8A7799#8A7799

#8A7799 is a mid, muted violet. Relative luminance 0.209; OKLCH L 59.9% C 0.055 H 310.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8A7799
RGBrgb(138, 119, 153)
HSLhsl(274, 14%, 53%)
HSVhsv(274, 22%, 60%)
CMYKcmyk(9.8%, 22.2%, 0%, 40%)
CIE-LABlab(52.84, 14.08, -15.61)
CIE-LCHlch(52.84, 21.02, 312.06°)
OKLaboklab(59.89% 0.0355 -0.0423)
OKLCHoklch(59.89% 0.055 310)
XYZxyz(22.8268, 20.8970, 32.9618)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7799 #869977
analogous
#797799 #8A7799 #997797
triadic
#8A7799 #998A77 #77998A
tetradic
#8A7799 #997977 #869977 #779799
square
#8A7799 #997977 #869977 #779799
split-complementary
#8A7799 #979977 #779979
monochromatic
#4C4055 #6B5A78 #8A7799 #A89AB3 #C6BDCD

Accessibility & contrast

On white

4.05
#8A7799 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8A7799 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7799
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7799#FFFFFF#000000##000000
##8A77991.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#727D9A
Deuteranopia (green-blind)
#757E98
Tritanopia (blue-blind)
#887B83
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a7799;
/* rgb */ color: rgb(138, 119, 153);
/* oklch */ color: oklch(59.9% 0.055 310.0);
Tailwind
colors: {
  custom: {
    50: '#ac9eb7',
    500: '#8a7799',
    950: '#000000',
  },
}
SCSS
$custom: #8a7799;
$custom-light: #ac9eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7799",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 153
  },
  "hsl": {
    "h": 273.529,
    "s": 14.286,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59885,
    "c": 0.05525,
    "h": 310
  },
  "luminance": 0.20897
}

Semantic roles & 50–950 ramp

primary
#8A7799
secondary
#B5BDAF
accent
#B77190
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #8A7799

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

Preview Lab → · Contrast checker → · Palette generator →

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