#8778F7#8778F7

#8778F7 is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.7% C 0.183 H 285.5°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8778F7
RGBrgb(135, 120, 247)
HSLhsl(247, 89%, 72%)
HSVhsv(247, 51%, 97%)
CMYKcmyk(45.3%, 51.4%, 0%, 3.1%)
CIE-LABlab(57.36, 36.93, -61.97)
CIE-LCHlch(57.36, 72.14, 300.80°)
OKLaboklab(64.74% 0.0488 -0.1763)
OKLCHoklch(64.74% 0.183 285.5)
XYZxyz(33.4917, 25.2978, 91.0959)
Luminance0.2530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8778F7 #E8F778
analogous
#78A8F7 #8778F7 #C778F7
triadic
#8778F7 #F78778 #78F787
tetradic
#8778F7 #F778A8 #E8F778 #78F7C7
square
#8778F7 #F778A8 #E8F778 #78F7C7
split-complementary
#8778F7 #F7C778 #A8F778
monochromatic
#270EE7 #543EF4 #8778F7 #BAB2FA #E5E2FD

Accessibility & contrast

On white

3.47
#8778F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#8778F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8778F7
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8778F7#FFFFFF#000000##000000
##8778F71.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8DFB
Deuteranopia (green-blind)
#3786F4
Tritanopia (blue-blind)
#6393AC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8778f7;
/* rgb */ color: rgb(135, 120, 247);
/* oklch */ color: oklch(64.7% 0.183 285.5);
Tailwind
colors: {
  custom: {
    50: '#b09ffa',
    500: '#8778f7',
    950: '#000000',
  },
}
SCSS
$custom: #8778f7;
$custom-light: #b09ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#8778f7",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 247.087,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.64739,
    "c": 0.18297,
    "h": 285.5
  },
  "luminance": 0.25299
}

Semantic roles & 50–950 ramp

primary
#8778F7
secondary
#F2F5D5
accent
#E500CA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8778F7

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

Preview Lab → · Contrast checker → · Palette generator →

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