#878DFD#878DFD

#878DFD is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.9% C 0.163 H 278.9°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#878DFD
RGBrgb(135, 141, 253)
HSLhsl(237, 97%, 76%)
HSVhsv(237, 47%, 99%)
CMYKcmyk(46.6%, 44.3%, 0%, 0.8%)
CIE-LABlab(62.75, 26.42, -56.65)
CIE-LCHlch(62.75, 62.51, 295.00°)
OKLaboklab(68.91% 0.0252 -0.1606)
OKLCHoklch(68.91% 0.163 278.9)
XYZxyz(37.2408, 31.2905, 96.9868)
Luminance0.3129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878DFD #FDF787
analogous
#87C8FD #878DFD #BC87FD
triadic
#878DFD #FD878D #8DFD87
tetradic
#878DFD #FD87C8 #FDF787 #87FDBC
square
#878DFD #FD87C8 #FDF787 #87FDBC
split-complementary
#878DFD #FDBC87 #C8FD87
monochromatic
#0F1BFB #4B54FC #878DFD #C3C6FE #E1E2FE

Accessibility & contrast

On white

2.89
#878DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#878DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #878DFD
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878DFD#FFFFFF#000000##000000
##878DFD1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#5793FA
Tritanopia (blue-blind)
#5CA5B9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #878dfd;
/* rgb */ color: rgb(135, 141, 253);
/* oklch */ color: oklch(68.9% 0.163 278.9);
Tailwind
colors: {
  custom: {
    50: '#b0aefe',
    500: '#878dfd',
    950: '#000000',
  },
}
SCSS
$custom: #878dfd;
$custom-light: #b0aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#878dfd",
  "rgb": {
    "r": 135,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 236.949,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.68908,
    "c": 0.16261,
    "h": 278.9
  },
  "luminance": 0.31292
}

Semantic roles & 50–950 ramp

primary
#878DFD
secondary
#F7F5D4
accent
#DA00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #878DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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