#8B78F5#8B78F5

#8B78F5 is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.9% C 0.180 H 287.3°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8B78F5
RGBrgb(139, 120, 245)
HSLhsl(249, 86%, 72%)
HSVhsv(249, 51%, 96%)
CMYKcmyk(43.3%, 51%, 0%, 3.9%)
CIE-LABlab(57.57, 37.26, -60.51)
CIE-LCHlch(57.57, 71.06, 301.62°)
OKLaboklab(64.94% 0.0534 -0.172)
OKLCHoklch(64.94% 0.18 287.3)
XYZxyz(33.8407, 25.5132, 89.5100)
Luminance0.2551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B78F5 #E2F578
analogous
#78A4F5 #8B78F5 #CA78F5
triadic
#8B78F5 #F58B78 #78F58B
tetradic
#8B78F5 #F578A4 #E2F578 #78F5CA
square
#8B78F5 #F578A4 #E2F578 #78F5CA
split-complementary
#8B78F5 #F5CA78 #A4F578
monochromatic
#3111E2 #5A3FF1 #8B78F5 #BCB1F9 #E7E3FD

Accessibility & contrast

On white

3.44
#8B78F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#8B78F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B78F5
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B78F5#FFFFFF#000000##000000
##8B78F51.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8DF9
Deuteranopia (green-blind)
#3E87F2
Tritanopia (blue-blind)
#6B92AB
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8b78f5;
/* rgb */ color: rgb(139, 120, 245);
/* oklch */ color: oklch(64.9% 0.180 287.3);
Tailwind
colors: {
  custom: {
    50: '#b29ff9',
    500: '#8b78f5',
    950: '#000000',
  },
}
SCSS
$custom: #8b78f5;
$custom-light: #b29ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b78f5",
  "rgb": {
    "r": 139,
    "g": 120,
    "b": 245
  },
  "hsl": {
    "h": 249.12,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.64936,
    "c": 0.18006,
    "h": 287.3
  },
  "luminance": 0.25514
}

Semantic roles & 50–950 ramp

primary
#8B78F5
secondary
#F0F4D4
accent
#E303C1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8B78F5

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

Preview Lab → · Contrast checker → · Palette generator →

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