#878CF6#878CF6

#878CF6 is a light, vivid blue. Relative luminance 0.306; OKLCH L 68.3% C 0.154 H 279.4°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#878CF6
RGBrgb(135, 140, 246)
HSLhsl(237, 86%, 75%)
HSVhsv(237, 45%, 96%)
CMYKcmyk(45.1%, 43.1%, 0%, 3.5%)
CIE-LABlab(62.13, 24.98, -53.80)
CIE-LCHlch(62.13, 59.31, 294.91°)
OKLaboklab(68.32% 0.0253 -0.1523)
OKLCHoklch(68.32% 0.154 279.4)
XYZxyz(35.9993, 30.5591, 91.1725)
Luminance0.3056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878CF6 #F6F187
analogous
#87C4F6 #878CF6 #B987F6
triadic
#878CF6 #F6878C #8CF687
tetradic
#878CF6 #F687C4 #F6F187 #87F6B9
square
#878CF6 #F687C4 #F6F187 #87F6B9
split-complementary
#878CF6 #F6B987 #C4F687
monochromatic
#151FED #4E55F2 #878CF6 #C0C3FA #E3E4FD

Accessibility & contrast

On white

2.95
#878CF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#878CF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #878CF6
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878CF6#FFFFFF#000000##000000
##878CF61.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#639AFA
Deuteranopia (green-blind)
#5B92F4
Tritanopia (blue-blind)
#61A2B5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #878cf6;
/* rgb */ color: rgb(135, 140, 246);
/* oklch */ color: oklch(68.3% 0.154 279.4);
Tailwind
colors: {
  custom: {
    50: '#afadfa',
    500: '#878cf6',
    950: '#000000',
  },
}
SCSS
$custom: #878cf6;
$custom-light: #afadfa;
$custom-dark: #000000;
JSON
{
  "hex": "#878cf6",
  "rgb": {
    "r": 135,
    "g": 140,
    "b": 246
  },
  "hsl": {
    "h": 237.297,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.68317,
    "c": 0.15437,
    "h": 279.4
  },
  "luminance": 0.30561
}

Semantic roles & 50–950 ramp

primary
#878CF6
secondary
#F5F3D6
accent
#D803E3
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #878CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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