#877EF6#877EF6

#877EF6 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.7% C 0.173 H 283.9°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#877EF6
RGBrgb(135, 126, 246)
HSLhsl(245, 87%, 73%)
HSVhsv(245, 49%, 96%)
CMYKcmyk(45.1%, 48.8%, 0%, 3.5%)
CIE-LABlab(58.72, 33.16, -59.24)
CIE-LCHlch(58.72, 67.89, 299.24°)
OKLaboklab(65.73% 0.0418 -0.1683)
OKLCHoklch(65.73% 0.173 283.9)
XYZxyz(34.0822, 26.7249, 90.5335)
Luminance0.2673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EF6 #EDF67E
analogous
#7EB1F6 #877EF6 #C37EF6
triadic
#877EF6 #F6877E #7EF687
tetradic
#877EF6 #F67EB1 #EDF67E #7EF6C3
square
#877EF6 #F67EB1 #EDF67E #7EF6C3
split-complementary
#877EF6 #F6C37E #B1F67E
monochromatic
#2110E9 #5245F2 #877EF6 #BCB7FA #E4E2FD

Accessibility & contrast

On white

3.31
#877EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#877EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EF6
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EF6#FFFFFF#000000##000000
##877EF61.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A91FA
Deuteranopia (green-blind)
#4489F3
Tritanopia (blue-blind)
#6297AE
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #877ef6;
/* rgb */ color: rgb(135, 126, 246);
/* oklch */ color: oklch(65.7% 0.173 283.9);
Tailwind
colors: {
  custom: {
    50: '#b0a3fa',
    500: '#877ef6',
    950: '#000000',
  },
}
SCSS
$custom: #877ef6;
$custom-light: #b0a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#877ef6",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 246
  },
  "hsl": {
    "h": 244.5,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.65734,
    "c": 0.17343,
    "h": 283.9
  },
  "luminance": 0.26726
}

Semantic roles & 50–950 ramp

primary
#877EF6
secondary
#F3F5D6
accent
#E402D3
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #877EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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