#878BF1#878BF1

#878BF1 is a light, vivid blue. Relative luminance 0.300; OKLCH L 67.8% C 0.149 H 279.9°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#878BF1
RGBrgb(135, 139, 241)
HSLhsl(238, 79%, 74%)
HSVhsv(238, 44%, 95%)
CMYKcmyk(44%, 42.3%, 0%, 5.5%)
CIE-LABlab(61.62, 24.12, -51.85)
CIE-LCHlch(61.62, 57.19, 294.95°)
OKLaboklab(67.85% 0.0257 -0.1466)
OKLCHoklch(67.85% 0.149 279.9)
XYZxyz(35.0967, 29.9653, 87.1366)
Luminance0.2997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878BF1 #F1ED87
analogous
#87C0F1 #878BF1 #B887F1
triadic
#878BF1 #F1878B #8BF187
tetradic
#878BF1 #F187C0 #F1ED87 #87F1B8
square
#878BF1 #F187C0 #F1ED87 #87F1B8
split-complementary
#878BF1 #F1B887 #C0F187
monochromatic
#1A22E3 #5056EB #878BF1 #BEC0F7 #E4E5FC

Accessibility & contrast

On white

3.00
#878BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#878BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878BF1
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878BF1#FFFFFF#000000##000000
##878BF11.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6499F5
Deuteranopia (green-blind)
#5D91EF
Tritanopia (blue-blind)
#64A0B2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #878bf1;
/* rgb */ color: rgb(135, 139, 241);
/* oklch */ color: oklch(67.8% 0.149 279.9);
Tailwind
colors: {
  custom: {
    50: '#afacf6',
    500: '#878bf1',
    950: '#000000',
  },
}
SCSS
$custom: #878bf1;
$custom-light: #afacf6;
$custom-dark: #000000;
JSON
{
  "hex": "#878bf1",
  "rgb": {
    "r": 135,
    "g": 139,
    "b": 241
  },
  "hsl": {
    "h": 237.736,
    "s": 79.104,
    "l": 73.725
  },
  "oklch": {
    "l": 0.67845,
    "c": 0.14883,
    "h": 279.9
  },
  "luminance": 0.29967
}

Semantic roles & 50–950 ramp

primary
#878BF1
secondary
#F4F3D7
accent
#D30ADB
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#111017
muted
#807F85

Preview Lab

Preview with #878BF1

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

Preview Lab → · Contrast checker → · Palette generator →

#878BF1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva