#8A79AA#8A79AA

#8A79AA is a mid, moderate violet. Relative luminance 0.220; OKLCH L 61.0% C 0.075 H 300.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8A79AA
RGBrgb(138, 121, 170)
HSLhsl(261, 22%, 57%)
HSVhsv(261, 29%, 67%)
CMYKcmyk(18.8%, 28.8%, 0%, 33.3%)
CIE-LABlab(54.01, 16.77, -23.69)
CIE-LCHlch(54.01, 29.03, 305.30°)
OKLaboklab(61% 0.0377 -0.0651)
OKLCHoklch(61% 0.075 300.1)
XYZxyz(24.5728, 21.9802, 40.9705)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79AA #99AA79
analogous
#7981AA #8A79AA #A279AA
triadic
#8A79AA #AA8A79 #79AA8A
tetradic
#8A79AA #AA7981 #99AA79 #79AAA2
square
#8A79AA #AA7981 #99AA79 #79AAA2
split-complementary
#8A79AA #AAA279 #81AA79
monochromatic
#4F4167 #6B598D #8A79AA #AB9EC2 #CBC4DA

Accessibility & contrast

On white

3.89
#8A79AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#8A79AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79AA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79AA#FFFFFF#000000##000000
##8A79AA1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F81AC
Deuteranopia (green-blind)
#7181A9
Tritanopia (blue-blind)
#84808A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a79aa;
/* rgb */ color: rgb(138, 121, 170);
/* oklch */ color: oklch(61.0% 0.075 300.1);
Tailwind
colors: {
  custom: {
    50: '#ac9fc3',
    500: '#8a79aa',
    950: '#000000',
  },
}
SCSS
$custom: #8a79aa;
$custom-light: #ac9fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79aa",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 170
  },
  "hsl": {
    "h": 260.816,
    "s": 22.374,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61,
    "c": 0.07527,
    "h": 300.1
  },
  "luminance": 0.2198
}

Semantic roles & 50–950 ramp

primary
#8A79AA
secondary
#C2C9B5
accent
#BF69A1
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8A79AA

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

Preview Lab → · Contrast checker → · Palette generator →

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