#8A79AF#8A79AF

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

Color values

HEX#8A79AF
RGBrgb(138, 121, 175)
HSLhsl(259, 25%, 58%)
HSVhsv(259, 31%, 69%)
CMYKcmyk(21.1%, 30.9%, 0%, 31.4%)
CIE-LABlab(54.21, 17.96, -26.26)
CIE-LCHlch(54.21, 31.82, 304.38°)
OKLaboklab(61.22% 0.0392 -0.0724)
OKLCHoklch(61.22% 0.082 298.4)
XYZxyz(25.0548, 22.1730, 43.5090)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79AF #9EAF79
analogous
#7983AF #8A79AF #A579AF
triadic
#8A79AF #AF8A79 #79AF8A
tetradic
#8A79AF #AF7983 #9EAF79 #79AFA5
square
#8A79AF #AF7983 #9EAF79 #79AFA5
split-complementary
#8A79AF #AFA579 #83AF79
monochromatic
#4F416D #6A5893 #8A79AF #AB9FC6 #CDC6DD

Accessibility & contrast

On white

3.86
#8A79AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A79AF#FFFFFF#000000##000000
##8A79AF1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D82B1
Deuteranopia (green-blind)
#6F81AD
Tritanopia (blue-blind)
#83818C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a79af;
/* rgb */ color: rgb(138, 121, 175);
/* oklch */ color: oklch(61.2% 0.082 298.4);
Tailwind
colors: {
  custom: {
    50: '#ad9fc7',
    500: '#8a79af',
    950: '#000000',
  },
}
SCSS
$custom: #8a79af;
$custom-light: #ad9fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79af",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 175
  },
  "hsl": {
    "h": 258.889,
    "s": 25.234,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61224,
    "c": 0.08235,
    "h": 298.4
  },
  "luminance": 0.22173
}

Semantic roles & 50–950 ramp

primary
#8A79AF
secondary
#C6CDB7
accent
#C266A5
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8A79AF

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

Preview Lab → · Contrast checker → · Palette generator →

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