#878BFA#878BFA

#878BFA is a light, vivid blue. Relative luminance 0.305; OKLCH L 68.4% C 0.161 H 279.7°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#878BFA
RGBrgb(135, 139, 250)
HSLhsl(238, 92%, 75%)
HSVhsv(238, 46%, 98%)
CMYKcmyk(46%, 44.4%, 0%, 2%)
CIE-LABlab(62.10, 26.72, -56.05)
CIE-LCHlch(62.10, 62.09, 295.49°)
OKLaboklab(68.36% 0.0271 -0.1589)
OKLCHoklch(68.36% 0.161 279.7)
XYZxyz(36.4744, 30.5164, 94.3923)
Luminance0.3052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878BFA #FAF687
analogous
#87C4FA #878BFA #BC87FA
triadic
#878BFA #FA878B #8BFA87
tetradic
#878BFA #FA87C4 #FAF687 #87FABC
square
#878BFA #FA87C4 #FAF687 #87FABC
split-complementary
#878BFA #FABC87 #C4FA87
monochromatic
#1119F5 #4C52F8 #878BFA #C2C4FC #E2E3FE

Accessibility & contrast

On white

2.96
#878BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#878BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #878BFA
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878BFA#FFFFFF#000000##000000
##878BFA1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFE
Deuteranopia (green-blind)
#5692F8
Tritanopia (blue-blind)
#5FA2B6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #878bfa;
/* rgb */ color: rgb(135, 139, 250);
/* oklch */ color: oklch(68.4% 0.161 279.7);
Tailwind
colors: {
  custom: {
    50: '#b0acfc',
    500: '#878bfa',
    950: '#000000',
  },
}
SCSS
$custom: #878bfa;
$custom-light: #b0acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#878bfa",
  "rgb": {
    "r": 135,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 237.913,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.68358,
    "c": 0.16118,
    "h": 279.7
  },
  "luminance": 0.30518
}

Semantic roles & 50–950 ramp

primary
#878BFA
secondary
#F6F5D5
accent
#DE00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #878BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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