#878CF3#878CF3

#878CF3 is a light, vivid blue. Relative luminance 0.304; OKLCH L 68.1% C 0.150 H 279.5°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#878CF3
RGBrgb(135, 140, 243)
HSLhsl(237, 82%, 74%)
HSVhsv(237, 44%, 95%)
CMYKcmyk(44.4%, 42.4%, 0%, 4.7%)
CIE-LABlab(61.98, 24.11, -52.39)
CIE-LCHlch(61.98, 57.67, 294.72°)
OKLaboklab(68.15% 0.0248 -0.1482)
OKLCHoklch(68.15% 0.15 279.5)
XYZxyz(35.5426, 30.3764, 88.7671)
Luminance0.3038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878CF3 #F3EE87
analogous
#87C2F3 #878CF3 #B887F3
triadic
#878CF3 #F3878C #8CF387
tetradic
#878CF3 #F387C2 #F3EE87 #87F3B8
square
#878CF3 #F387C2 #F3EE87 #87F3B8
split-complementary
#878CF3 #F3B887 #C2F387
monochromatic
#1821E8 #4F57ED #878CF3 #BFC1F9 #E3E4FC

Accessibility & contrast

On white

2.97
#878CF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#878CF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #878CF3
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878CF3#FFFFFF#000000##000000
##878CF31.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#659AF7
Deuteranopia (green-blind)
#5D92F1
Tritanopia (blue-blind)
#63A1B4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #878cf3;
/* rgb */ color: rgb(135, 140, 243);
/* oklch */ color: oklch(68.1% 0.150 279.5);
Tailwind
colors: {
  custom: {
    50: '#afadf7',
    500: '#878cf3',
    950: '#000000',
  },
}
SCSS
$custom: #878cf3;
$custom-light: #afadf7;
$custom-dark: #000000;
JSON
{
  "hex": "#878cf3",
  "rgb": {
    "r": 135,
    "g": 140,
    "b": 243
  },
  "hsl": {
    "h": 237.222,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68148,
    "c": 0.15024,
    "h": 279.5
  },
  "luminance": 0.30378
}

Semantic roles & 50–950 ramp

primary
#878CF3
secondary
#F4F3D7
accent
#D407DE
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #878CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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