#8A799F#8A799F

#8A799F is a mid, muted violet. Relative luminance 0.216; OKLCH L 60.5% C 0.060 H 305.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8A799F
RGBrgb(138, 121, 159)
HSLhsl(267, 17%, 55%)
HSVhsv(267, 24%, 62%)
CMYKcmyk(13.2%, 23.9%, 0%, 37.6%)
CIE-LABlab(53.58, 14.24, -17.97)
CIE-LCHlch(53.58, 22.93, 308.40°)
OKLaboklab(60.53% 0.0343 -0.049)
OKLCHoklch(60.53% 0.06 305)
XYZxyz(23.5754, 21.5813, 35.7178)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A799F #8E9F79
analogous
#797B9F #8A799F #9D799F
triadic
#8A799F #9F8A79 #799F8A
tetradic
#8A799F #9F797B #8E9F79 #799F9D
square
#8A799F #9F797B #8E9F79 #799F9D
split-complementary
#8A799F #9F9D79 #7B9F79
monochromatic
#4D425C #6B5B7F #8A799F #A99DB9 #C8C0D2

Accessibility & contrast

On white

3.95
#8A799F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#8A799F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A799F
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A799F#FFFFFF#000000##000000
##8A799F1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#727FA1
Deuteranopia (green-blind)
#75809E
Tritanopia (blue-blind)
#877E86
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a799f;
/* rgb */ color: rgb(138, 121, 159);
/* oklch */ color: oklch(60.5% 0.060 305.0);
Tailwind
colors: {
  custom: {
    50: '#ac9fbb',
    500: '#8a799f',
    950: '#000000',
  },
}
SCSS
$custom: #8a799f;
$custom-light: #ac9fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a799f",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 159
  },
  "hsl": {
    "h": 266.842,
    "s": 16.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60531,
    "c": 0.05981,
    "h": 305
  },
  "luminance": 0.21581
}

Semantic roles & 50–950 ramp

primary
#8A799F
secondary
#BBC2B2
accent
#B96F98
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #8A799F

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

Preview Lab → · Contrast checker → · Palette generator →

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