#8B79BB#8B79BB

#8B79BB is a mid, moderate violet. Relative luminance 0.228; OKLCH L 61.9% C 0.099 H 295.9°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8B79BB
RGBrgb(139, 121, 187)
HSLhsl(256, 33%, 60%)
HSVhsv(256, 35%, 73%)
CMYKcmyk(25.7%, 35.3%, 0%, 26.7%)
CIE-LABlab(54.82, 21.21, -32.21)
CIE-LCHlch(54.82, 38.56, 303.37°)
OKLaboklab(61.88% 0.0434 -0.0895)
OKLCHoklch(61.88% 0.099 295.9)
XYZxyz(26.4524, 22.7513, 50.0019)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B79BB #A9BB79
analogous
#7988BB #8B79BB #AC79BB
triadic
#8B79BB #BB8B79 #79BB8B
tetradic
#8B79BB #BB7988 #A9BB79 #79BBAC
square
#8B79BB #BB7988 #A9BB79 #79BBAC
split-complementary
#8B79BB #BBAC79 #88BB79
monochromatic
#4F3E7B #6953A4 #8B79BB #AEA2D0 #D1CAE4

Accessibility & contrast

On white

3.78
#8B79BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#8B79BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B79BB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B79BB#FFFFFF#000000##000000
##8B79BB1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6884BE
Deuteranopia (green-blind)
#6B82B9
Tritanopia (blue-blind)
#818491
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8b79bb;
/* rgb */ color: rgb(139, 121, 187);
/* oklch */ color: oklch(61.9% 0.099 295.9);
Tailwind
colors: {
  custom: {
    50: '#ae9fcf',
    500: '#8b79bb',
    950: '#000000',
  },
}
SCSS
$custom: #8b79bb;
$custom-light: #ae9fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b79bb",
  "rgb": {
    "r": 139,
    "g": 121,
    "b": 187
  },
  "hsl": {
    "h": 256.364,
    "s": 32.673,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61879,
    "c": 0.09945,
    "h": 295.9
  },
  "luminance": 0.22752
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B79BB

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

Preview Lab → · Contrast checker → · Palette generator →

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