#877EF9#877EF9

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

Color values

HEX#877EF9
RGBrgb(135, 126, 249)
HSLhsl(244, 91%, 74%)
HSVhsv(244, 49%, 98%)
CMYKcmyk(45.8%, 49.4%, 0%, 2.4%)
CIE-LABlab(58.89, 34.02, -60.62)
CIE-LCHlch(58.89, 69.51, 299.30°)
OKLaboklab(65.92% 0.042 -0.1724)
OKLCHoklch(65.92% 0.177 283.7)
XYZxyz(34.5464, 26.9106, 92.9781)
Luminance0.2691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EF9 #F0F97E
analogous
#7EB2F9 #877EF9 #C47EF9
triadic
#877EF9 #F9877E #7EF987
tetradic
#877EF9 #F97EB2 #F0F97E #7EF9C4
square
#877EF9 #F97EB2 #F0F97E #7EF9C4
split-complementary
#877EF9 #F9C47E #B2F97E
monochromatic
#1C0BF1 #5144F6 #877EF9 #BDB8FC #E4E2FE

Accessibility & contrast

On white

3.29
#877EF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#877EF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EF9
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EF9#FFFFFF#000000##000000
##877EF91.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4792FD
Deuteranopia (green-blind)
#418AF6
Tritanopia (blue-blind)
#6198B0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #877ef9;
/* rgb */ color: rgb(135, 126, 249);
/* oklch */ color: oklch(65.9% 0.177 283.7);
Tailwind
colors: {
  custom: {
    50: '#b0a3fc',
    500: '#877ef9',
    950: '#000000',
  },
}
SCSS
$custom: #877ef9;
$custom-light: #b0a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#877ef9",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 249
  },
  "hsl": {
    "h": 244.39,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.6592,
    "c": 0.17742,
    "h": 283.7
  },
  "luminance": 0.26912
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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