#8A79BB#8A79BB

#8A79BB is a mid, moderate violet. Relative luminance 0.227; OKLCH L 61.8% C 0.099 H 295.2°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8A79BB
RGBrgb(138, 121, 187)
HSLhsl(255, 33%, 60%)
HSVhsv(255, 35%, 73%)
CMYKcmyk(26.2%, 35.3%, 0%, 26.7%)
CIE-LABlab(54.73, 20.91, -32.35)
CIE-LCHlch(54.73, 38.52, 302.87°)
OKLaboklab(61.79% 0.0423 -0.0899)
OKLCHoklch(61.79% 0.099 295.2)
XYZxyz(26.2861, 22.6656, 49.9941)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A79BB #AABB79
analogous
#7989BB #8A79BB #AB79BB
triadic
#8A79BB #BB8A79 #79BB8A
tetradic
#8A79BB #BB7989 #AABB79 #79BBAB
square
#8A79BB #BB7989 #AABB79 #79BBAB
split-complementary
#8A79BB #BBAB79 #89BB79
monochromatic
#4E3E7B #6853A4 #8A79BB #ADA2D0 #D1CAE4

Accessibility & contrast

On white

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

On black

5.53
#8A79BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A79BB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A79BB#FFFFFF#000000##000000
##8A79BB1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a79bb;
/* rgb */ color: rgb(138, 121, 187);
/* oklch */ color: oklch(61.8% 0.099 295.2);
Tailwind
colors: {
  custom: {
    50: '#ad9fcf',
    500: '#8a79bb',
    950: '#000000',
  },
}
SCSS
$custom: #8a79bb;
$custom-light: #ad9fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a79bb",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 187
  },
  "hsl": {
    "h": 255.455,
    "s": 32.673,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61789,
    "c": 0.09933,
    "h": 295.2
  },
  "luminance": 0.22666
}

Semantic roles & 50–950 ramp

primary
#8A79BB
secondary
#CED5BB
accent
#AB3A8E
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A79BB

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

Preview Lab → · Contrast checker → · Palette generator →

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