#8778F3#8778F3

#8778F3 is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.5% C 0.178 H 285.8°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8778F3
RGBrgb(135, 120, 243)
HSLhsl(247, 84%, 71%)
HSVhsv(247, 51%, 95%)
CMYKcmyk(44.4%, 50.6%, 0%, 4.7%)
CIE-LABlab(57.13, 35.79, -60.13)
CIE-LCHlch(57.13, 69.98, 300.76°)
OKLaboklab(64.49% 0.0485 -0.1709)
OKLCHoklch(64.49% 0.178 285.8)
XYZxyz(32.8811, 25.0535, 87.8799)
Luminance0.2505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8778F3 #E4F378
analogous
#78A6F3 #8778F3 #C478F3
triadic
#8778F3 #F38778 #78F387
tetradic
#8778F3 #F378A6 #E4F378 #78F3C4
square
#8778F3 #F378A6 #E4F378 #78F3C4
split-complementary
#8778F3 #F3C478 #A6F378
monochromatic
#2C14DD #5540EE #8778F3 #B9B0F8 #E6E3FD

Accessibility & contrast

On white

3.49
#8778F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#8778F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8778F3
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8778F3#FFFFFF#000000##000000
##8778F31.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#408DF7
Deuteranopia (green-blind)
#3D86F0
Tritanopia (blue-blind)
#6592AA
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8778f3;
/* rgb */ color: rgb(135, 120, 243);
/* oklch */ color: oklch(64.5% 0.178 285.8);
Tailwind
colors: {
  custom: {
    50: '#b09ff8',
    500: '#8778f3',
    950: '#000000',
  },
}
SCSS
$custom: #8778f3;
$custom-light: #b09ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#8778f3",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 243
  },
  "hsl": {
    "h": 247.317,
    "s": 83.673,
    "l": 71.176
  },
  "oklch": {
    "l": 0.64485,
    "c": 0.1777,
    "h": 285.8
  },
  "luminance": 0.25055
}

Semantic roles & 50–950 ramp

primary
#8778F3
secondary
#F0F4D3
accent
#E005C5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8778F3

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

Preview Lab → · Contrast checker → · Palette generator →

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