#877EF8#877EF8

#877EF8 is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.9% C 0.176 H 283.8°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#877EF8
RGBrgb(135, 126, 248)
HSLhsl(244, 90%, 73%)
HSVhsv(244, 49%, 97%)
CMYKcmyk(45.6%, 49.2%, 0%, 2.7%)
CIE-LABlab(58.83, 33.73, -60.16)
CIE-LCHlch(58.83, 68.97, 299.28°)
OKLaboklab(65.86% 0.042 -0.171)
OKLCHoklch(65.86% 0.176 283.8)
XYZxyz(34.3908, 26.8483, 92.1589)
Luminance0.2685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EF8 #EFF87E
analogous
#7EB2F8 #877EF8 #C47EF8
triadic
#877EF8 #F8877E #7EF887
tetradic
#877EF8 #F87EB2 #EFF87E #7EF8C4
square
#877EF8 #F87EB2 #EFF87E #7EF8C4
split-complementary
#877EF8 #F8C47E #B2F87E
monochromatic
#1E0DEF #5144F5 #877EF8 #BDB8FB #E4E2FD

Accessibility & contrast

On white

3.30
#877EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#877EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EF8
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EF8#FFFFFF#000000##000000
##877EF81.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4891FC
Deuteranopia (green-blind)
#428AF5
Tritanopia (blue-blind)
#6198AF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #877ef8;
/* rgb */ color: rgb(135, 126, 248);
/* oklch */ color: oklch(65.9% 0.176 283.8);
Tailwind
colors: {
  custom: {
    50: '#b0a3fb',
    500: '#877ef8',
    950: '#000000',
  },
}
SCSS
$custom: #877ef8;
$custom-light: #b0a3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#877ef8",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 244.426,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.65858,
    "c": 0.17609,
    "h": 283.8
  },
  "luminance": 0.2685
}

Semantic roles & 50–950 ramp

primary
#877EF8
secondary
#F3F6D5
accent
#E600D5
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #877EF8

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

Preview Lab → · Contrast checker → · Palette generator →

#877EF8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva