#877EEA#877EEA

#877EEA is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.0% C 0.157 H 284.9°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#877EEA
RGBrgb(135, 126, 234)
HSLhsl(245, 72%, 71%)
HSVhsv(245, 46%, 92%)
CMYKcmyk(42.3%, 46.2%, 0%, 8.2%)
CIE-LABlab(58.05, 29.74, -53.66)
CIE-LCHlch(58.05, 61.35, 299.00°)
OKLaboklab(65.01% 0.0405 -0.1519)
OKLCHoklch(65.01% 0.157 284.9)
XYZxyz(32.2995, 26.0118, 81.1449)
Luminance0.2601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EEA #E1EA7E
analogous
#7EABEA #877EEA #BD7EEA
triadic
#877EEA #EA877E #7EEA87
tetradic
#877EEA #EA7EAB #E1EA7E #7EEABD
square
#877EEA #EA7EAB #E1EA7E #7EEABD
split-complementary
#877EEA #EABD7E #ABEA7E
monochromatic
#3021CC #5649E1 #877EEA #B8B3F3 #E7E5FB

Accessibility & contrast

On white

3.39
#877EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#877EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EEA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EEA#FFFFFF#000000##000000
##877EEA1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEE
Deuteranopia (green-blind)
#5088E8
Tritanopia (blue-blind)
#6994A9
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877eea;
/* rgb */ color: rgb(135, 126, 234);
/* oklch */ color: oklch(65.0% 0.157 284.9);
Tailwind
colors: {
  custom: {
    50: '#afa3f1',
    500: '#877eea',
    950: '#000000',
  },
}
SCSS
$custom: #877eea;
$custom-light: #afa3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#877eea",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 234
  },
  "hsl": {
    "h": 245,
    "s": 72,
    "l": 70.588
  },
  "oklch": {
    "l": 0.65013,
    "c": 0.15725,
    "h": 284.9
  },
  "luminance": 0.26013
}

Semantic roles & 50–950 ramp

primary
#877EEA
secondary
#EEF1D3
accent
#D411C4
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F17
muted
#807F85

Preview Lab

Preview with #877EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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