#8778F5#8778F5

#8778F5 is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.6% C 0.180 H 285.7°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8778F5
RGBrgb(135, 120, 245)
HSLhsl(247, 86%, 72%)
HSVhsv(247, 51%, 96%)
CMYKcmyk(44.9%, 51%, 0%, 3.9%)
CIE-LABlab(57.25, 36.36, -61.05)
CIE-LCHlch(57.25, 71.06, 300.78°)
OKLaboklab(64.61% 0.0487 -0.1737)
OKLCHoklch(64.61% 0.18 285.7)
XYZxyz(33.1848, 25.1750, 89.4792)
Luminance0.2518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8778F5 #E6F578
analogous
#78A8F5 #8778F5 #C678F5
triadic
#8778F5 #F58778 #78F587
tetradic
#8778F5 #F578A8 #E6F578 #78F5C6
square
#8778F5 #F578A8 #E6F578 #78F5C6
split-complementary
#8778F5 #F5C678 #A8F578
monochromatic
#2A11E2 #543FF1 #8778F5 #BAB1F9 #E6E3FD

Accessibility & contrast

On white

3.48
#8778F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#8778F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8778F5
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8778F5#FFFFFF#000000##000000
##8778F51.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8DF9
Deuteranopia (green-blind)
#3A86F2
Tritanopia (blue-blind)
#6493AB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8778f5;
/* rgb */ color: rgb(135, 120, 245);
/* oklch */ color: oklch(64.6% 0.180 285.7);
Tailwind
colors: {
  custom: {
    50: '#b09ff9',
    500: '#8778f5',
    950: '#000000',
  },
}
SCSS
$custom: #8778f5;
$custom-light: #b09ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#8778f5",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 245
  },
  "hsl": {
    "h": 247.2,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.64611,
    "c": 0.18035,
    "h": 285.7
  },
  "luminance": 0.25176
}

Semantic roles & 50–950 ramp

primary
#8778F5
secondary
#F1F4D4
accent
#E303C8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8778F5

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

Preview Lab → · Contrast checker → · Palette generator →

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