#8A799D#8A799D

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

Color values

HEX#8A799D
RGBrgb(138, 121, 157)
HSLhsl(268, 16%, 55%)
HSVhsv(268, 23%, 62%)
CMYKcmyk(12.1%, 22.9%, 0%, 38.4%)
CIE-LABlab(53.51, 13.79, -16.92)
CIE-LCHlch(53.51, 21.83, 309.19°)
OKLaboklab(60.45% 0.0337 -0.046)
OKLCHoklch(60.45% 0.057 306.2)
XYZxyz(23.4033, 21.5124, 34.8111)
Luminance0.2151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A799D #8C9D79
analogous
#797A9D #8A799D #9C799D
triadic
#8A799D #9D8A79 #799D8A
tetradic
#8A799D #9D797A #8C9D79 #799D9C
square
#8A799D #9D797A #8C9D79 #799D9C
split-complementary
#8A799D #9D9C79 #7A9D79
monochromatic
#4D425A #6B5C7D #8A799D #A99CB7 #C8C0D1

Accessibility & contrast

On white

3.96
#8A799D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A799D#FFFFFF#000000##000000
##8A799D1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#737F9F
Deuteranopia (green-blind)
#76809C
Tritanopia (blue-blind)
#877E85
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a799d;
/* rgb */ color: rgb(138, 121, 157);
/* oklch */ color: oklch(60.5% 0.057 306.2);
Tailwind
colors: {
  custom: {
    50: '#ac9fba',
    500: '#8a799d',
    950: '#000000',
  },
}
SCSS
$custom: #8a799d;
$custom-light: #ac9fba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a799d",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 157
  },
  "hsl": {
    "h": 268.333,
    "s": 15.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.6045,
    "c": 0.05704,
    "h": 306.2
  },
  "luminance": 0.21512
}

Semantic roles & 50–950 ramp

primary
#8A799D
secondary
#B9C1B1
accent
#B87096
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #8A799D

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

Preview Lab → · Contrast checker → · Palette generator →

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