#877EE2#877EE2

#877EE2 is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.5% C 0.146 H 285.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#877EE2
RGBrgb(135, 126, 226)
HSLhsl(245, 63%, 69%)
HSVhsv(245, 44%, 89%)
CMYKcmyk(40.3%, 44.2%, 0%, 11.4%)
CIE-LABlab(57.62, 27.50, -49.88)
CIE-LCHlch(57.62, 56.96, 298.87°)
OKLaboklab(64.55% 0.0394 -0.1409)
OKLCHoklch(64.55% 0.146 285.6)
XYZxyz(31.1761, 25.5625, 75.2282)
Luminance0.2556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EE2 #D9E27E
analogous
#7EA7E2 #877EE2 #B97EE2
triadic
#877EE2 #E2877E #7EE287
tetradic
#877EE2 #E27EA7 #D9E27E #7EE2B9
square
#877EE2 #E27EA7 #D9E27E #7EE2B9
split-complementary
#877EE2 #E2B97E #A7E27E
monochromatic
#372ABB #594CD7 #877EE2 #B5B0ED #E4E2F8

Accessibility & contrast

On white

3.44
#877EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#877EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EE2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EE2#FFFFFF#000000##000000
##877EE21.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#598DE6
Deuteranopia (green-blind)
#5787E0
Tritanopia (blue-blind)
#6D92A5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #877ee2;
/* rgb */ color: rgb(135, 126, 226);
/* oklch */ color: oklch(64.5% 0.146 285.6);
Tailwind
colors: {
  custom: {
    50: '#aea3eb',
    500: '#877ee2',
    950: '#000000',
  },
}
SCSS
$custom: #877ee2;
$custom-light: #aea3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#877ee2",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 226
  },
  "hsl": {
    "h": 245.4,
    "s": 63.291,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64549,
    "c": 0.14629,
    "h": 285.6
  },
  "luminance": 0.25564
}

Semantic roles & 50–950 ramp

primary
#877EE2
secondary
#EAEDCF
accent
#CB1ABB
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F16
muted
#807F84

Preview Lab

Preview with #877EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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