#8778EB#8778EB

#8778EB is a light, vivid blue. Relative luminance 0.246; OKLCH L 64.0% C 0.167 H 286.6°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8778EB
RGBrgb(135, 120, 235)
HSLhsl(248, 74%, 70%)
HSVhsv(248, 49%, 92%)
CMYKcmyk(42.6%, 48.9%, 0%, 7.8%)
CIE-LABlab(56.66, 33.53, -56.42)
CIE-LCHlch(56.66, 65.64, 300.72°)
OKLaboklab(63.99% 0.0479 -0.1601)
OKLCHoklch(63.99% 0.167 286.6)
XYZxyz(31.6993, 24.5808, 81.6555)
Luminance0.2458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8778EB #DCEB78
analogous
#78A3EB #8778EB #C178EB
triadic
#8778EB #EB8778 #78EB87
tetradic
#8778EB #EB78A3 #DCEB78 #78EBC1
square
#8778EB #EB78A3 #DCEB78 #78EBC1
split-complementary
#8778EB #EBC178 #A3EB78
monochromatic
#351ECB #5843E3 #8778EB #B6ADF3 #E6E3FB

Accessibility & contrast

On white

3.55
#8778EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#8778EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8778EB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8778EB#FFFFFF#000000##000000
##8778EB1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#488BEF
Deuteranopia (green-blind)
#4685E8
Tritanopia (blue-blind)
#6990A6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8778eb;
/* rgb */ color: rgb(135, 120, 235);
/* oklch */ color: oklch(64.0% 0.167 286.6);
Tailwind
colors: {
  custom: {
    50: '#af9ff2',
    500: '#8778eb',
    950: '#000000',
  },
}
SCSS
$custom: #8778eb;
$custom-light: #af9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#8778eb",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 247.826,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.63989,
    "c": 0.16707,
    "h": 286.6
  },
  "luminance": 0.24582
}

Semantic roles & 50–950 ramp

primary
#8778EB
secondary
#ECF0CF
accent
#D60FBC
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8778EB

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

Preview Lab → · Contrast checker → · Palette generator →

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