#8A79B0#8A79B0

#8A79B0 is a mid, moderate violet. Relative luminance 0.222; OKLCH L 61.3% C 0.084 H 298.1°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8A79B0
RGBrgb(138, 121, 176)
HSLhsl(259, 26%, 58%)
HSVhsv(259, 31%, 69%)
CMYKcmyk(21.6%, 31.3%, 0%, 31%)
CIE-LABlab(54.25, 18.20, -26.77)
CIE-LCHlch(54.25, 32.37, 304.21°)
OKLaboklab(61.27% 0.0394 -0.0739)
OKLCHoklch(61.27% 0.084 298.1)
XYZxyz(25.1533, 22.2125, 44.0281)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79B0 #9FB079
analogous
#7983B0 #8A79B0 #A579B0
triadic
#8A79B0 #B08A79 #79B08A
tetradic
#8A79B0 #B07983 #9FB079 #79B0A5
square
#8A79B0 #B07983 #9FB079 #79B0A5
split-complementary
#8A79B0 #B0A579 #83B079
monochromatic
#4F416E #6A5794 #8A79B0 #ACA0C7 #CDC6DD

Accessibility & contrast

On white

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

On black

5.44
#8A79B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79B0
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79B0#FFFFFF#000000##000000
##8A79B01.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C82B2
Deuteranopia (green-blind)
#6F81AE
Tritanopia (blue-blind)
#83828D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a79b0;
/* rgb */ color: rgb(138, 121, 176);
/* oklch */ color: oklch(61.3% 0.084 298.1);
Tailwind
colors: {
  custom: {
    50: '#ad9fc7',
    500: '#8a79b0',
    950: '#000000',
  },
}
SCSS
$custom: #8a79b0;
$custom-light: #ad9fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79b0",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 176
  },
  "hsl": {
    "h": 258.545,
    "s": 25.822,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6127,
    "c": 0.08377,
    "h": 298.1
  },
  "luminance": 0.22213
}

Semantic roles & 50–950 ramp

primary
#8A79B0
secondary
#C7CDB7
accent
#C266A6
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8A79B0

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

Preview Lab → · Contrast checker → · Palette generator →

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