#878DF3#878DF3

#878DF3 is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.3% C 0.149 H 279.1°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#878DF3
RGBrgb(135, 141, 243)
HSLhsl(237, 82%, 74%)
HSVhsv(237, 44%, 95%)
CMYKcmyk(44.4%, 42%, 0%, 4.7%)
CIE-LABlab(62.23, 23.53, -51.99)
CIE-LCHlch(62.23, 57.07, 294.35°)
OKLaboklab(68.34% 0.0236 -0.147)
OKLCHoklch(68.34% 0.149 279.1)
XYZxyz(35.6893, 30.6700, 88.8160)
Luminance0.3067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878DF3 #F3ED87
analogous
#87C3F3 #878DF3 #B787F3
triadic
#878DF3 #F3878D #8DF387
tetradic
#878DF3 #F387C3 #F3ED87 #87F3B7
square
#878DF3 #F387C3 #F3ED87 #87F3B7
split-complementary
#878DF3 #F3B787 #C3F387
monochromatic
#1823E8 #4F58ED #878DF3 #BFC2F9 #E3E5FC

Accessibility & contrast

On white

2.94
#878DF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#878DF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #878DF3
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878DF3#FFFFFF#000000##000000
##878DF31.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#669BF7
Deuteranopia (green-blind)
#5F92F1
Tritanopia (blue-blind)
#63A2B4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #878df3;
/* rgb */ color: rgb(135, 141, 243);
/* oklch */ color: oklch(68.3% 0.149 279.1);
Tailwind
colors: {
  custom: {
    50: '#afaef7',
    500: '#878df3',
    950: '#000000',
  },
}
SCSS
$custom: #878df3;
$custom-light: #afaef7;
$custom-dark: #000000;
JSON
{
  "hex": "#878df3",
  "rgb": {
    "r": 135,
    "g": 141,
    "b": 243
  },
  "hsl": {
    "h": 236.667,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68338,
    "c": 0.1489,
    "h": 279.1
  },
  "luminance": 0.30672
}

Semantic roles & 50–950 ramp

primary
#878DF3
secondary
#F4F2D7
accent
#D207DE
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #878DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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