#8B78FA#8B78FA

#8B78FA is a light, vivid blue. Relative luminance 0.258; OKLCH L 65.3% C 0.187 H 286.7°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8B78FA
RGBrgb(139, 120, 250)
HSLhsl(249, 93%, 73%)
HSVhsv(249, 52%, 98%)
CMYKcmyk(44.4%, 52%, 0%, 2%)
CIE-LABlab(57.87, 38.66, -62.80)
CIE-LCHlch(57.87, 73.75, 301.62°)
OKLaboklab(65.25% 0.0537 -0.1787)
OKLCHoklch(65.25% 0.187 286.7)
XYZxyz(34.6143, 25.8226, 93.5844)
Luminance0.2582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B78FA #E7FA78
analogous
#78A6FA #8B78FA #CC78FA
triadic
#8B78FA #FA8B78 #78FA8B
tetradic
#8B78FA #FA78A6 #E7FA78 #78FACC
square
#8B78FA #FA78A6 #E7FA78 #78FACC
split-complementary
#8B78FA #FACC78 #A6FA78
monochromatic
#2A09EF #583DF8 #8B78FA #BEB3FC #E6E1FE

Accessibility & contrast

On white

3.41
#8B78FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#8B78FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B78FA
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B78FA#FFFFFF#000000##000000
##8B78FA1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#398EFF
Deuteranopia (green-blind)
#3787F7
Tritanopia (blue-blind)
#6894AE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8b78fa;
/* rgb */ color: rgb(139, 120, 250);
/* oklch */ color: oklch(65.3% 0.187 286.7);
Tailwind
colors: {
  custom: {
    50: '#b39ffd',
    500: '#8b78fa',
    950: '#000000',
  },
}
SCSS
$custom: #8b78fa;
$custom-light: #b39ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b78fa",
  "rgb": {
    "r": 139,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 248.769,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65252,
    "c": 0.18659,
    "h": 286.7
  },
  "luminance": 0.25824
}

Semantic roles & 50–950 ramp

primary
#8B78FA
secondary
#F1F6D5
accent
#E600C4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8B78FA

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

Preview Lab → · Contrast checker → · Palette generator →

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