#8B78FB#8B78FB

#8B78FB is a light, vivid blue. Relative luminance 0.259; OKLCH L 65.3% C 0.188 H 286.6°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8B78FB
RGBrgb(139, 120, 251)
HSLhsl(249, 94%, 73%)
HSVhsv(249, 52%, 98%)
CMYKcmyk(44.6%, 52.2%, 0%, 1.6%)
CIE-LABlab(57.93, 38.94, -63.25)
CIE-LCHlch(57.93, 74.28, 301.62°)
OKLaboklab(65.32% 0.0538 -0.18)
OKLCHoklch(65.32% 0.188 286.6)
XYZxyz(34.7715, 25.8855, 94.4124)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B78FB #E8FB78
analogous
#78A7FB #8B78FB #CC78FB
triadic
#8B78FB #FB8B78 #78FB8B
tetradic
#8B78FB #FB78A7 #E8FB78 #78FBCC
square
#8B78FB #FB78A7 #E8FB78 #78FBCC
split-complementary
#8B78FB #FBCC78 #A7FB78
monochromatic
#2907F1 #583DF9 #8B78FB #BEB3FD #E5E1FE

Accessibility & contrast

On white

3.40
#8B78FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#8B78FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B78FB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B78FB#FFFFFF#000000##000000
##8B78FB1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#388FFF
Deuteranopia (green-blind)
#3688F8
Tritanopia (blue-blind)
#6894AE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8b78fb;
/* rgb */ color: rgb(139, 120, 251);
/* oklch */ color: oklch(65.3% 0.188 286.6);
Tailwind
colors: {
  custom: {
    50: '#b39ffd',
    500: '#8b78fb',
    950: '#000000',
  },
}
SCSS
$custom: #8b78fb;
$custom-light: #b39ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b78fb",
  "rgb": {
    "r": 139,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 248.702,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.65316,
    "c": 0.18788,
    "h": 286.6
  },
  "luminance": 0.25887
}

Semantic roles & 50–950 ramp

primary
#8B78FB
secondary
#F1F6D5
accent
#E600C4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8B78FB

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

Preview Lab → · Contrast checker → · Palette generator →

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