#8B78EE#8B78EE

#8B78EE is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.5% C 0.171 H 288.0°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8B78EE
RGBrgb(139, 120, 238)
HSLhsl(250, 78%, 70%)
HSVhsv(250, 50%, 93%)
CMYKcmyk(41.6%, 49.6%, 0%, 6.7%)
CIE-LABlab(57.17, 35.31, -57.27)
CIE-LCHlch(57.17, 67.28, 301.65°)
OKLaboklab(64.5% 0.0529 -0.1625)
OKLCHoklch(64.5% 0.171 288)
XYZxyz(32.7922, 25.0938, 83.9881)
Luminance0.2510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B78EE #DBEE78
analogous
#78A0EE #8B78EE #C678EE
triadic
#8B78EE #EE8B78 #78EE8B
tetradic
#8B78EE #EE78A0 #DBEE78 #78EEC6
square
#8B78EE #EE78A0 #DBEE78 #78EEC6
split-complementary
#8B78EE #EEC678 #A0EE78
monochromatic
#381AD1 #5C42E7 #8B78EE #BAAEF5 #E8E4FC

Accessibility & contrast

On white

3.49
#8B78EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#8B78EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B78EE
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B78EE#FFFFFF#000000##000000
##8B78EE1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#468CF2
Deuteranopia (green-blind)
#4686EB
Tritanopia (blue-blind)
#6E90A8
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8b78ee;
/* rgb */ color: rgb(139, 120, 238);
/* oklch */ color: oklch(64.5% 0.171 288.0);
Tailwind
colors: {
  custom: {
    50: '#b29ff4',
    500: '#8b78ee',
    950: '#000000',
  },
}
SCSS
$custom: #8b78ee;
$custom-light: #b29ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b78ee",
  "rgb": {
    "r": 139,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 249.661,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64502,
    "c": 0.17085,
    "h": 288
  },
  "luminance": 0.25095
}

Semantic roles & 50–950 ramp

primary
#8B78EE
secondary
#ECF1D1
accent
#DA0CB9
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8B78EE

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

Preview Lab → · Contrast checker → · Palette generator →

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