#8778B3#8778B3

#8778B3 is a mid, moderate violet. Relative luminance 0.218; OKLCH L 60.9% C 0.089 H 295.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8778B3
RGBrgb(135, 120, 179)
HSLhsl(255, 28%, 59%)
HSVhsv(255, 33%, 70%)
CMYKcmyk(24.6%, 33%, 0%, 29.8%)
CIE-LABlab(53.85, 18.59, -29.14)
CIE-LCHlch(53.85, 34.56, 302.54°)
OKLaboklab(60.94% 0.0382 -0.0807)
OKLCHoklch(60.94% 0.089 295.3)
XYZxyz(24.8429, 21.8383, 45.5455)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8778B3 #A4B378
analogous
#7886B3 #8778B3 #A478B3
triadic
#8778B3 #B38778 #78B387
tetradic
#8778B3 #B37886 #A4B378 #78B3A4
square
#8778B3 #B37886 #A4B378 #78B3A4
split-complementary
#8778B3 #B3A478 #86B378
monochromatic
#4C4071 #675698 #8778B3 #AA9FC9 #CDC6DF

Accessibility & contrast

On white

3.91
#8778B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8778B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8778B3
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8778B3#FFFFFF#000000##000000
##8778B31.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6981B5
Deuteranopia (green-blind)
#6B80B1
Tritanopia (blue-blind)
#7E828D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8778b3;
/* rgb */ color: rgb(135, 120, 179);
/* oklch */ color: oklch(60.9% 0.089 295.3);
Tailwind
colors: {
  custom: {
    50: '#ab9fca',
    500: '#8778b3',
    950: '#000000',
  },
}
SCSS
$custom: #8778b3;
$custom-light: #ab9fca;
$custom-dark: #000000;
JSON
{
  "hex": "#8778b3",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 179
  },
  "hsl": {
    "h": 255.254,
    "s": 27.962,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60943,
    "c": 0.08928,
    "h": 295.3
  },
  "luminance": 0.21839
}

Semantic roles & 50–950 ramp

primary
#8778B3
secondary
#C9CFB8
accent
#C464AC
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8778B3

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

Preview Lab → · Contrast checker → · Palette generator →

#8778B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva