#8778F2#8778F2

#8778F2 is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.4% C 0.176 H 285.9°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8778F2
RGBrgb(135, 120, 242)
HSLhsl(247, 82%, 71%)
HSVhsv(247, 50%, 95%)
CMYKcmyk(44.2%, 50.4%, 0%, 5.1%)
CIE-LABlab(57.07, 35.51, -59.67)
CIE-LCHlch(57.07, 69.44, 300.76°)
OKLaboklab(64.42% 0.0485 -0.1696)
OKLCHoklch(64.42% 0.176 285.9)
XYZxyz(32.7305, 24.9933, 87.0868)
Luminance0.2500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8778F2 #E3F278
analogous
#78A6F2 #8778F2 #C478F2
triadic
#8778F2 #F28778 #78F287
tetradic
#8778F2 #F278A6 #E3F278 #78F2C4
square
#8778F2 #F278A6 #E3F278 #78F2C4
split-complementary
#8778F2 #F2C478 #A6F278
monochromatic
#2D15DB #5540ED #8778F2 #B9B0F7 #E6E3FC

Accessibility & contrast

On white

3.50
#8778F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#8778F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8778F2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8778F2#FFFFFF#000000##000000
##8778F21.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#418CF6
Deuteranopia (green-blind)
#3E85EF
Tritanopia (blue-blind)
#6592AA
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8778f2;
/* rgb */ color: rgb(135, 120, 242);
/* oklch */ color: oklch(64.4% 0.176 285.9);
Tailwind
colors: {
  custom: {
    50: '#b09ff7',
    500: '#8778f2',
    950: '#000000',
  },
}
SCSS
$custom: #8778f2;
$custom-light: #b09ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#8778f2",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 247.377,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64423,
    "c": 0.17638,
    "h": 285.9
  },
  "luminance": 0.24995
}

Semantic roles & 50–950 ramp

primary
#8778F2
secondary
#EFF3D3
accent
#DF07C4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8778F2

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

Preview Lab → · Contrast checker → · Palette generator →

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