#8878FA#8878FA

#8878FA is a light, vivid blue. Relative luminance 0.256; OKLCH L 65.0% C 0.187 H 285.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8878FA
RGBrgb(136, 120, 250)
HSLhsl(247, 93%, 73%)
HSVhsv(247, 52%, 98%)
CMYKcmyk(45.6%, 52%, 0%, 2%)
CIE-LABlab(57.62, 38.01, -63.20)
CIE-LCHlch(57.62, 73.75, 301.02°)
OKLaboklab(65.01% 0.0501 -0.18)
OKLCHoklch(65.01% 0.187 285.6)
XYZxyz(34.1201, 25.5678, 93.5612)
Luminance0.2557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8878FA #EAFA78
analogous
#78A9FA #8878FA #C978FA
triadic
#8878FA #FA8878 #78FA88
tetradic
#8878FA #FA78A9 #EAFA78 #78FAC9
square
#8878FA #FA78A9 #EAFA78 #78FAC9
split-complementary
#8878FA #FAC978 #A9FA78
monochromatic
#2509EF #543DF8 #8878FA #BCB3FC #E5E1FE

Accessibility & contrast

On white

3.43
#8878FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#8878FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8878FA
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8878FA#FFFFFF#000000##000000
##8878FA1.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#388EFF
Deuteranopia (green-blind)
#3487F7
Tritanopia (blue-blind)
#6394AE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8878fa;
/* rgb */ color: rgb(136, 120, 250);
/* oklch */ color: oklch(65.0% 0.187 285.6);
Tailwind
colors: {
  custom: {
    50: '#b19ffd',
    500: '#8878fa',
    950: '#000000',
  },
}
SCSS
$custom: #8878fa;
$custom-light: #b19ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#8878fa",
  "rgb": {
    "r": 136,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 247.385,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.6501,
    "c": 0.18681,
    "h": 285.6
  },
  "luminance": 0.25569
}

Semantic roles & 50–950 ramp

primary
#8878FA
secondary
#F2F6D5
accent
#E600C9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8878FA

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

Preview Lab → · Contrast checker → · Palette generator →

#8878FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva