#877EE9#877EE9

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

Color values

HEX#877EE9
RGBrgb(135, 126, 233)
HSLhsl(245, 71%, 70%)
HSVhsv(245, 46%, 91%)
CMYKcmyk(42.1%, 45.9%, 0%, 8.6%)
CIE-LABlab(57.99, 29.46, -53.19)
CIE-LCHlch(57.99, 60.80, 298.98°)
OKLaboklab(64.95% 0.0404 -0.1506)
OKLCHoklch(64.95% 0.156 285)
XYZxyz(32.1563, 25.9545, 80.3904)
Luminance0.2596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EE9 #E0E97E
analogous
#7EAAE9 #877EE9 #BD7EE9
triadic
#877EE9 #E9877E #7EE987
tetradic
#877EE9 #E97EAA #E0E97E #7EE9BD
square
#877EE9 #E97EAA #E0E97E #7EE9BD
split-complementary
#877EE9 #E9BD7E #AAE97E
monochromatic
#3122CA #564AE0 #877EE9 #B8B2F2 #E7E5FB

Accessibility & contrast

On white

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

On black

6.19
#877EE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EE9
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EE9#FFFFFF#000000##000000
##877EE91.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FED
Deuteranopia (green-blind)
#5188E7
Tritanopia (blue-blind)
#6994A8
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877ee9;
/* rgb */ color: rgb(135, 126, 233);
/* oklch */ color: oklch(65.0% 0.156 285.0);
Tailwind
colors: {
  custom: {
    50: '#aea3f0',
    500: '#877ee9',
    950: '#000000',
  },
}
SCSS
$custom: #877ee9;
$custom-light: #aea3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#877ee9",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 233
  },
  "hsl": {
    "h": 245.047,
    "s": 70.861,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64954,
    "c": 0.15589,
    "h": 285
  },
  "luminance": 0.25956
}

Semantic roles & 50–950 ramp

primary
#877EE9
secondary
#EEF0D3
accent
#D313C3
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F17
muted
#807F85

Preview Lab

Preview with #877EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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