#878FFD#878FFD

#878FFD is a light, vivid blue. Relative luminance 0.319; OKLCH L 69.3% C 0.160 H 278.2°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#878FFD
RGBrgb(135, 143, 253)
HSLhsl(236, 97%, 76%)
HSVhsv(236, 47%, 99%)
CMYKcmyk(46.6%, 43.5%, 0%, 0.8%)
CIE-LABlab(63.25, 25.26, -55.86)
CIE-LCHlch(63.25, 61.31, 294.33°)
OKLaboklab(69.29% 0.0228 -0.1583)
OKLCHoklch(69.29% 0.16 278.2)
XYZxyz(37.5383, 31.8857, 97.0860)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878FFD #FDF587
analogous
#87CAFD #878FFD #BA87FD
triadic
#878FFD #FD878F #8FFD87
tetradic
#878FFD #FD87CA #FDF587 #87FDBA
square
#878FFD #FD87CA #FDF587 #87FDBA
split-complementary
#878FFD #FDBA87 #CAFD87
monochromatic
#0F1FFB #4B57FC #878FFD #C3C7FE #E1E3FE

Accessibility & contrast

On white

2.85
#878FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#878FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #878FFD
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878FFD#FFFFFF#000000##000000
##878FFD1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#5A95FB
Tritanopia (blue-blind)
#5CA6BA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #878ffd;
/* rgb */ color: rgb(135, 143, 253);
/* oklch */ color: oklch(69.3% 0.160 278.2);
Tailwind
colors: {
  custom: {
    50: '#b0affe',
    500: '#878ffd',
    950: '#000000',
  },
}
SCSS
$custom: #878ffd;
$custom-light: #b0affe;
$custom-dark: #000000;
JSON
{
  "hex": "#878ffd",
  "rgb": {
    "r": 135,
    "g": 143,
    "b": 253
  },
  "hsl": {
    "h": 235.932,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.69285,
    "c": 0.15996,
    "h": 278.2
  },
  "luminance": 0.31888
}

Semantic roles & 50–950 ramp

primary
#878FFD
secondary
#F7F4D4
accent
#D600E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #878FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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