#8778F6#8778F6

#8778F6 is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.7% C 0.182 H 285.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8778F6
RGBrgb(135, 120, 246)
HSLhsl(247, 88%, 72%)
HSVhsv(247, 51%, 96%)
CMYKcmyk(45.1%, 51.2%, 0%, 3.5%)
CIE-LABlab(57.30, 36.65, -61.51)
CIE-LCHlch(57.30, 71.60, 300.79°)
OKLaboklab(64.68% 0.0487 -0.175)
OKLCHoklch(64.68% 0.182 285.6)
XYZxyz(33.3379, 25.2362, 90.2854)
Luminance0.2524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8778F6 #E7F678
analogous
#78A8F6 #8778F6 #C678F6
triadic
#8778F6 #F68778 #78F687
tetradic
#8778F6 #F678A8 #E7F678 #78F6C6
square
#8778F6 #F678A8 #E7F678 #78F6C6
split-complementary
#8778F6 #F6C678 #A8F678
monochromatic
#290FE4 #543FF2 #8778F6 #BAB1FA #E6E2FD

Accessibility & contrast

On white

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

On black

6.05
#8778F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8778F6
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8778F6#FFFFFF#000000##000000
##8778F61.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8DFA
Deuteranopia (green-blind)
#3986F3
Tritanopia (blue-blind)
#6393AC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8778f6;
/* rgb */ color: rgb(135, 120, 246);
/* oklch */ color: oklch(64.7% 0.182 285.6);
Tailwind
colors: {
  custom: {
    50: '#b09ffa',
    500: '#8778f6',
    950: '#000000',
  },
}
SCSS
$custom: #8778f6;
$custom-light: #b09ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#8778f6",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 246
  },
  "hsl": {
    "h": 247.143,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.64675,
    "c": 0.18166,
    "h": 285.6
  },
  "luminance": 0.25238
}

Semantic roles & 50–950 ramp

primary
#8778F6
secondary
#F1F5D5
accent
#E401C9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8778F6

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

Preview Lab → · Contrast checker → · Palette generator →

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