#8B78EC#8B78EC

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

Color values

HEX#8B78EC
RGBrgb(139, 120, 236)
HSLhsl(250, 75%, 70%)
HSVhsv(250, 49%, 93%)
CMYKcmyk(41.1%, 49.2%, 0%, 7.5%)
CIE-LABlab(57.05, 34.75, -56.34)
CIE-LCHlch(57.05, 66.20, 301.67°)
OKLaboklab(64.38% 0.0527 -0.1597)
OKLCHoklch(64.38% 0.168 288.3)
XYZxyz(32.5000, 24.9769, 82.4493)
Luminance0.2498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B78EC #D9EC78
analogous
#789FEC #8B78EC #C578EC
triadic
#8B78EC #EC8B78 #78EC8B
tetradic
#8B78EC #EC789F #D9EC78 #78ECC5
square
#8B78EC #EC789F #D9EC78 #78ECC5
split-complementary
#8B78EC #ECC578 #9FEC78
monochromatic
#3A1DCD #5D42E4 #8B78EC #B9AEF4 #E7E3FB

Accessibility & contrast

On white

3.50
#8B78EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#8B78EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B78EC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B78EC#FFFFFF#000000##000000
##8B78EC1.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)
#488CF0
Deuteranopia (green-blind)
#4886E9
Tritanopia (blue-blind)
#6F90A7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8b78ec;
/* rgb */ color: rgb(139, 120, 236);
/* oklch */ color: oklch(64.4% 0.168 288.3);
Tailwind
colors: {
  custom: {
    50: '#b29ff3',
    500: '#8b78ec',
    950: '#000000',
  },
}
SCSS
$custom: #8b78ec;
$custom-light: #b29ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b78ec",
  "rgb": {
    "r": 139,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 249.828,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6438,
    "c": 0.16821,
    "h": 288.3
  },
  "luminance": 0.24978
}

Semantic roles & 50–950 ramp

primary
#8B78EC
secondary
#EBF0D0
accent
#D70EB6
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8B78EC

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

Preview Lab → · Contrast checker → · Palette generator →

#8B78EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva