#8A799B#8A799B

#8A799B is a mid, muted violet. Relative luminance 0.214; OKLCH L 60.4% C 0.054 H 307.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8A799B
RGBrgb(138, 121, 155)
HSLhsl(270, 15%, 54%)
HSVhsv(270, 22%, 61%)
CMYKcmyk(11%, 21.9%, 0%, 39.2%)
CIE-LABlab(53.43, 13.35, -15.87)
CIE-LCHlch(53.43, 20.74, 310.08°)
OKLaboklab(60.37% 0.033 -0.0431)
OKLCHoklch(60.37% 0.054 307.5)
XYZxyz(23.2339, 21.4447, 33.9192)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A799B #8A9B79
analogous
#79799B #8A799B #9B799B
triadic
#8A799B #9B8A79 #799B8A
tetradic
#8A799B #9B7979 #8A9B79 #799B9B
square
#8A799B #9B7979 #8A9B79 #799B9B
split-complementary
#8A799B #9B9B79 #799B79
monochromatic
#4D4258 #6B5C7B #8A799B #A99CB5 #C7BFCF

Accessibility & contrast

On white

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

On black

5.29
#8A799B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A799B
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A799B#FFFFFF#000000##000000
##8A799B1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#737F9C
Deuteranopia (green-blind)
#77809A
Tritanopia (blue-blind)
#887D85
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a799b;
/* rgb */ color: rgb(138, 121, 155);
/* oklch */ color: oklch(60.4% 0.054 307.5);
Tailwind
colors: {
  custom: {
    50: '#ac9fb8',
    500: '#8a799b',
    950: '#000000',
  },
}
SCSS
$custom: #8a799b;
$custom-light: #ac9fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a799b",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 155
  },
  "hsl": {
    "h": 270,
    "s": 14.53,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60369,
    "c": 0.05429,
    "h": 307.5
  },
  "luminance": 0.21445
}

Semantic roles & 50–950 ramp

primary
#8A799B
secondary
#B8BFB1
accent
#B77094
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #8A799B

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

Preview Lab → · Contrast checker → · Palette generator →

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