#8A79BA#8A79BA

#8A79BA is a mid, moderate violet. Relative luminance 0.226; OKLCH L 61.7% C 0.098 H 295.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8A79BA
RGBrgb(138, 121, 186)
HSLhsl(256, 32%, 60%)
HSVhsv(256, 35%, 73%)
CMYKcmyk(25.8%, 34.9%, 0%, 27.1%)
CIE-LABlab(54.68, 20.66, -31.85)
CIE-LCHlch(54.68, 37.96, 302.97°)
OKLaboklab(61.74% 0.042 -0.0884)
OKLCHoklch(61.74% 0.098 295.4)
XYZxyz(26.1794, 22.6229, 49.4323)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79BA #A9BA79
analogous
#7988BA #8A79BA #AA79BA
triadic
#8A79BA #BA8A79 #79BA8A
tetradic
#8A79BA #BA7988 #A9BA79 #79BAAA
square
#8A79BA #BA7988 #A9BA79 #79BAAA
split-complementary
#8A79BA #BAAA79 #88BA79
monochromatic
#4E3F7A #6854A2 #8A79BA #ADA1CF #D1CAE4

Accessibility & contrast

On white

3.80
#8A79BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#8A79BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79BA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79BA#FFFFFF#000000##000000
##8A79BA1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6883BD
Deuteranopia (green-blind)
#6B82B8
Tritanopia (blue-blind)
#808491
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a79ba;
/* rgb */ color: rgb(138, 121, 186);
/* oklch */ color: oklch(61.7% 0.098 295.4);
Tailwind
colors: {
  custom: {
    50: '#ad9fcf',
    500: '#8a79ba',
    950: '#000000',
  },
}
SCSS
$custom: #8a79ba;
$custom-light: #ad9fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79ba",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 186
  },
  "hsl": {
    "h": 255.692,
    "s": 32.02,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61741,
    "c": 0.09792,
    "h": 295.4
  },
  "luminance": 0.22623
}

Semantic roles & 50–950 ramp

primary
#8A79BA
secondary
#CDD4BB
accent
#AB3B8D
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8A79BA

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

Preview Lab → · Contrast checker → · Palette generator →

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