#877EEB#877EEB

#877EEB is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.1% C 0.159 H 284.8°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#877EEB
RGBrgb(135, 126, 235)
HSLhsl(245, 73%, 71%)
HSVhsv(245, 46%, 92%)
CMYKcmyk(42.6%, 46.4%, 0%, 7.8%)
CIE-LABlab(58.10, 30.03, -54.13)
CIE-LCHlch(58.10, 61.90, 299.02°)
OKLaboklab(65.07% 0.0406 -0.1533)
OKLCHoklch(65.07% 0.159 284.8)
XYZxyz(32.4436, 26.0695, 81.9036)
Luminance0.2607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EEB #E2EB7E
analogous
#7EABEB #877EEB #BD7EEB
triadic
#877EEB #EB877E #7EEB87
tetradic
#877EEB #EB7EAB #E2EB7E #7EEBBD
square
#877EEB #EB7EAB #E2EB7E #7EEBBD
split-complementary
#877EEB #EBBD7E #ABEB7E
monochromatic
#2E20CF #5649E3 #877EEB #B8B3F3 #E6E5FB

Accessibility & contrast

On white

3.38
#877EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#877EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EEB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EEB#FFFFFF#000000##000000
##877EEB1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FEF
Deuteranopia (green-blind)
#4F88E9
Tritanopia (blue-blind)
#6894A9
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877eeb;
/* rgb */ color: rgb(135, 126, 235);
/* oklch */ color: oklch(65.1% 0.159 284.8);
Tailwind
colors: {
  custom: {
    50: '#afa3f2',
    500: '#877eeb',
    950: '#000000',
  },
}
SCSS
$custom: #877eeb;
$custom-light: #afa3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#877eeb",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 235
  },
  "hsl": {
    "h": 244.954,
    "s": 73.154,
    "l": 70.784
  },
  "oklch": {
    "l": 0.65072,
    "c": 0.15861,
    "h": 284.8
  },
  "luminance": 0.26071
}

Semantic roles & 50–950 ramp

primary
#877EEB
secondary
#EFF1D4
accent
#D510C5
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F17
muted
#807F85

Preview Lab

Preview with #877EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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