#877EF0#877EF0

#877EF0 is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.4% C 0.165 H 284.4°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#877EF0
RGBrgb(135, 126, 240)
HSLhsl(245, 79%, 72%)
HSVhsv(245, 48%, 94%)
CMYKcmyk(43.8%, 47.5%, 0%, 5.9%)
CIE-LABlab(58.38, 31.44, -56.46)
CIE-LCHlch(58.38, 64.63, 299.11°)
OKLaboklab(65.37% 0.0412 -0.1602)
OKLCHoklch(65.37% 0.165 284.4)
XYZxyz(33.1761, 26.3625, 85.7616)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EF0 #E7F07E
analogous
#7EAEF0 #877EF0 #C07EF0
triadic
#877EF0 #F0877E #7EF087
tetradic
#877EF0 #F07EAE #E7F07E #7EF0C0
square
#877EF0 #F07EAE #E7F07E #7EF0C0
split-complementary
#877EF0 #F0C07E #AEF07E
monochromatic
#2919DA #5447EA #877EF0 #BAB5F6 #E6E4FC

Accessibility & contrast

On white

3.35
#877EF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#877EF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EF0
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EF0#FFFFFF#000000##000000
##877EF01.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F90F4
Deuteranopia (green-blind)
#4B89ED
Tritanopia (blue-blind)
#6696AC
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877ef0;
/* rgb */ color: rgb(135, 126, 240);
/* oklch */ color: oklch(65.4% 0.165 284.4);
Tailwind
colors: {
  custom: {
    50: '#afa3f5',
    500: '#877ef0',
    950: '#000000',
  },
}
SCSS
$custom: #877ef0;
$custom-light: #afa3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#877ef0",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 240
  },
  "hsl": {
    "h": 244.737,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.6537,
    "c": 0.16537,
    "h": 284.4
  },
  "luminance": 0.26364
}

Semantic roles & 50–950 ramp

primary
#877EF0
secondary
#F1F3D6
accent
#DB0ACB
background
#FBFAFF
surface
#F6F3FE
border
#D0CDD6
text
#110F17
muted
#807F85

Preview Lab

Preview with #877EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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