#8778EA#8778EA

#8778EA is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.9% C 0.166 H 286.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8778EA
RGBrgb(135, 120, 234)
HSLhsl(248, 73%, 69%)
HSVhsv(248, 49%, 92%)
CMYKcmyk(42.3%, 48.7%, 0%, 8.2%)
CIE-LABlab(56.61, 33.25, -55.96)
CIE-LCHlch(56.61, 65.09, 300.72°)
OKLaboklab(63.93% 0.0478 -0.1587)
OKLCHoklch(63.93% 0.166 286.8)
XYZxyz(31.5552, 24.5232, 80.8968)
Luminance0.2452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8778EA #DBEA78
analogous
#78A2EA #8778EA #C078EA
triadic
#8778EA #EA8778 #78EA87
tetradic
#8778EA #EA78A2 #DBEA78 #78EAC0
square
#8778EA #EA78A2 #DBEA78 #78EAC0
split-complementary
#8778EA #EAC078 #A2EA78
monochromatic
#351FC8 #5843E2 #8778EA #B6ADF2 #E5E2FA

Accessibility & contrast

On white

3.56
#8778EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#8778EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8778EA
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8778EA#FFFFFF#000000##000000
##8778EA1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#498BEE
Deuteranopia (green-blind)
#4785E7
Tritanopia (blue-blind)
#6990A6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8778ea;
/* rgb */ color: rgb(135, 120, 234);
/* oklch */ color: oklch(63.9% 0.166 286.8);
Tailwind
colors: {
  custom: {
    50: '#af9ff1',
    500: '#8778ea',
    950: '#000000',
  },
}
SCSS
$custom: #8778ea;
$custom-light: #af9ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#8778ea",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 247.895,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63928,
    "c": 0.16574,
    "h": 286.8
  },
  "luminance": 0.24524
}

Semantic roles & 50–950 ramp

primary
#8778EA
secondary
#EBEFCE
accent
#D510BB
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8778EA

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

Preview Lab → · Contrast checker → · Palette generator →

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