#877EE4#877EE4

#877EE4 is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.7% C 0.149 H 285.5°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#877EE4
RGBrgb(135, 126, 228)
HSLhsl(245, 65%, 69%)
HSVhsv(245, 45%, 89%)
CMYKcmyk(40.8%, 44.7%, 0%, 10.6%)
CIE-LABlab(57.73, 28.06, -50.83)
CIE-LCHlch(57.73, 58.06, 298.90°)
OKLaboklab(64.66% 0.0397 -0.1437)
OKLCHoklch(64.66% 0.149 285.5)
XYZxyz(31.4521, 25.6729, 76.6819)
Luminance0.2567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EE4 #DBE47E
analogous
#7EA8E4 #877EE4 #BA7EE4
triadic
#877EE4 #E4877E #7EE487
tetradic
#877EE4 #E47EA8 #DBE47E #7EE4BA
square
#877EE4 #E47EA8 #DBE47E #7EE4BA
split-complementary
#877EE4 #E4BA7E #A8E47E
monochromatic
#3528C0 #584BD9 #877EE4 #B6B1EF #E5E3F9

Accessibility & contrast

On white

3.42
#877EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#877EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EE4
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EE4#FFFFFF#000000##000000
##877EE41.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#588EE8
Deuteranopia (green-blind)
#5588E2
Tritanopia (blue-blind)
#6C93A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877ee4;
/* rgb */ color: rgb(135, 126, 228);
/* oklch */ color: oklch(64.7% 0.149 285.5);
Tailwind
colors: {
  custom: {
    50: '#aea3ed',
    500: '#877ee4',
    950: '#000000',
  },
}
SCSS
$custom: #877ee4;
$custom-light: #aea3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#877ee4",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 228
  },
  "hsl": {
    "h": 245.294,
    "s": 65.385,
    "l": 69.412
  },
  "oklch": {
    "l": 0.64664,
    "c": 0.14905,
    "h": 285.5
  },
  "luminance": 0.25674
}

Semantic roles & 50–950 ramp

primary
#877EE4
secondary
#EBEED0
accent
#CD18BD
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F16
muted
#807F84

Preview Lab

Preview with #877EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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