#877EE5#877EE5

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

Color values

HEX#877EE5
RGBrgb(135, 126, 229)
HSLhsl(245, 66%, 70%)
HSVhsv(245, 45%, 90%)
CMYKcmyk(41%, 45%, 0%, 10.2%)
CIE-LABlab(57.78, 28.34, -51.30)
CIE-LCHlch(57.78, 58.61, 298.92°)
OKLaboklab(64.72% 0.0398 -0.145)
OKLCHoklch(64.72% 0.15 285.4)
XYZxyz(31.5914, 25.7286, 77.4151)
Luminance0.2573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EE5 #DCE57E
analogous
#7EA8E5 #877EE5 #BB7EE5
triadic
#877EE5 #E5877E #7EE587
tetradic
#877EE5 #E57EA8 #DCE57E #7EE5BB
square
#877EE5 #E57EA8 #DCE57E #7EE5BB
split-complementary
#877EE5 #E5BB7E #A8E57E
monochromatic
#3527C2 #584BDB #877EE5 #B6B1EF #E6E4FA

Accessibility & contrast

On white

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

On black

6.15
#877EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EE5
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EE5#FFFFFF#000000##000000
##877EE51.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#578EE9
Deuteranopia (green-blind)
#5588E3
Tritanopia (blue-blind)
#6B93A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877ee5;
/* rgb */ color: rgb(135, 126, 229);
/* oklch */ color: oklch(64.7% 0.150 285.4);
Tailwind
colors: {
  custom: {
    50: '#aea3ee',
    500: '#877ee5',
    950: '#000000',
  },
}
SCSS
$custom: #877ee5;
$custom-light: #aea3ee;
$custom-dark: #000000;
JSON
{
  "hex": "#877ee5",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 229
  },
  "hsl": {
    "h": 245.243,
    "s": 66.452,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64721,
    "c": 0.15041,
    "h": 285.4
  },
  "luminance": 0.2573
}

Semantic roles & 50–950 ramp

primary
#877EE5
secondary
#ECEED1
accent
#CE17BE
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F16
muted
#807F84

Preview Lab

Preview with #877EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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