#878DF1#878DF1

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

Color values

HEX#878DF1
RGBrgb(135, 141, 241)
HSLhsl(237, 79%, 74%)
HSVhsv(237, 44%, 95%)
CMYKcmyk(44%, 41.5%, 0%, 5.5%)
CIE-LABlab(62.13, 22.96, -51.05)
CIE-LCHlch(62.13, 55.98, 294.21°)
OKLaboklab(68.23% 0.0233 -0.1443)
OKLCHoklch(68.23% 0.146 279.2)
XYZxyz(35.3890, 30.5498, 87.2340)
Luminance0.3055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878DF1 #F1EB87
analogous
#87C2F1 #878DF1 #B687F1
triadic
#878DF1 #F1878D #8DF187
tetradic
#878DF1 #F187C2 #F1EB87 #87F1B6
square
#878DF1 #F187C2 #F1EB87 #87F1B6
split-complementary
#878DF1 #F1B687 #C2F187
monochromatic
#1A26E3 #5059EB #878DF1 #BEC1F7 #E4E5FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##878DF1#FFFFFF#000000##000000
##878DF11.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)
#689AF5
Deuteranopia (green-blind)
#6092EF
Tritanopia (blue-blind)
#64A1B3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #878df1;
/* rgb */ color: rgb(135, 141, 241);
/* oklch */ color: oklch(68.2% 0.146 279.2);
Tailwind
colors: {
  custom: {
    50: '#afaef6',
    500: '#878df1',
    950: '#000000',
  },
}
SCSS
$custom: #878df1;
$custom-light: #afaef6;
$custom-dark: #000000;
JSON
{
  "hex": "#878df1",
  "rgb": {
    "r": 135,
    "g": 141,
    "b": 241
  },
  "hsl": {
    "h": 236.604,
    "s": 79.104,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68227,
    "c": 0.14613,
    "h": 279.2
  },
  "luminance": 0.30552
}

Semantic roles & 50–950 ramp

primary
#878DF1
secondary
#F4F2D7
accent
#D00ADB
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#111017
muted
#807F85

Preview Lab

Preview with #878DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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