#8A79AE#8A79AE

#8A79AE is a mid, moderate violet. Relative luminance 0.221; OKLCH L 61.2% C 0.081 H 298.7°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8A79AE
RGBrgb(138, 121, 174)
HSLhsl(259, 25%, 58%)
HSVhsv(259, 30%, 68%)
CMYKcmyk(20.7%, 30.5%, 0%, 31.8%)
CIE-LABlab(54.17, 17.72, -25.75)
CIE-LCHlch(54.17, 31.26, 304.54°)
OKLaboklab(61.18% 0.0389 -0.071)
OKLCHoklch(61.18% 0.081 298.7)
XYZxyz(24.9569, 22.1339, 42.9936)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79AE #9DAE79
analogous
#7982AE #8A79AE #A479AE
triadic
#8A79AE #AE8A79 #79AE8A
tetradic
#8A79AE #AE7982 #9DAE79 #79AEA4
square
#8A79AE #AE7982 #9DAE79 #79AEA4
split-complementary
#8A79AE #AEA479 #82AE79
monochromatic
#4F416C #6B5892 #8A79AE #AB9FC5 #CDC5DC

Accessibility & contrast

On white

3.87
#8A79AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#8A79AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79AE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79AE#FFFFFF#000000##000000
##8A79AE1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D82B0
Deuteranopia (green-blind)
#7081AD
Tritanopia (blue-blind)
#83818C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a79ae;
/* rgb */ color: rgb(138, 121, 174);
/* oklch */ color: oklch(61.2% 0.081 298.7);
Tailwind
colors: {
  custom: {
    50: '#ad9fc6',
    500: '#8a79ae',
    950: '#000000',
  },
}
SCSS
$custom: #8a79ae;
$custom-light: #ad9fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79ae",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 174
  },
  "hsl": {
    "h": 259.245,
    "s": 24.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61179,
    "c": 0.08092,
    "h": 298.7
  },
  "luminance": 0.22134
}

Semantic roles & 50–950 ramp

primary
#8A79AE
secondary
#C5CCB7
accent
#C167A4
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8A79AE

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

Preview Lab → · Contrast checker → · Palette generator →

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