#877EE7#877EE7

#877EE7 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.8% C 0.153 H 285.2°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#877EE7
RGBrgb(135, 126, 231)
HSLhsl(245, 69%, 70%)
HSVhsv(245, 45%, 91%)
CMYKcmyk(41.6%, 45.5%, 0%, 9.4%)
CIE-LABlab(57.89, 28.90, -52.25)
CIE-LCHlch(57.89, 59.71, 298.95°)
OKLaboklab(64.84% 0.0401 -0.1478)
OKLCHoklch(64.84% 0.153 285.2)
XYZxyz(31.8722, 25.8409, 78.8943)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EE7 #DEE77E
analogous
#7EA9E7 #877EE7 #BC7EE7
triadic
#877EE7 #E7877E #7EE787
tetradic
#877EE7 #E77EA9 #DEE77E #7EE7BC
square
#877EE7 #E77EA9 #DEE77E #7EE7BC
split-complementary
#877EE7 #E7BC7E #A9E77E
monochromatic
#3325C6 #574ADD #877EE7 #B7B2F1 #E7E5FA

Accessibility & contrast

On white

3.40
#877EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#877EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EE7
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EE7#FFFFFF#000000##000000
##877EE71.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#568EEB
Deuteranopia (green-blind)
#5388E5
Tritanopia (blue-blind)
#6A93A7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877ee7;
/* rgb */ color: rgb(135, 126, 231);
/* oklch */ color: oklch(64.8% 0.153 285.2);
Tailwind
colors: {
  custom: {
    50: '#aea3ef',
    500: '#877ee7',
    950: '#000000',
  },
}
SCSS
$custom: #877ee7;
$custom-light: #aea3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#877ee7",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 231
  },
  "hsl": {
    "h": 245.143,
    "s": 68.627,
    "l": 70
  },
  "oklch": {
    "l": 0.64837,
    "c": 0.15316,
    "h": 285.2
  },
  "luminance": 0.25842
}

Semantic roles & 50–950 ramp

primary
#877EE7
secondary
#EDEFD2
accent
#D115C0
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F16
muted
#807F84

Preview Lab

Preview with #877EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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