#877EDE#877EDE

#877EDE is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.3% C 0.141 H 286.0°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#877EDE
RGBrgb(135, 126, 222)
HSLhsl(246, 59%, 68%)
HSVhsv(246, 43%, 87%)
CMYKcmyk(39.2%, 43.2%, 0%, 12.9%)
CIE-LABlab(57.41, 26.39, -47.97)
CIE-LCHlch(57.41, 54.75, 298.81°)
OKLaboklab(64.32% 0.0388 -0.1353)
OKLCHoklch(64.32% 0.141 286)
XYZxyz(30.6336, 25.3455, 72.3712)
Luminance0.2535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EDE #D5DE7E
analogous
#7EA5DE #877EDE #B77EDE
triadic
#877EDE #DE877E #7EDE87
tetradic
#877EDE #DE7EA5 #D5DE7E #7EDEB7
square
#877EDE #DE7EA5 #D5DE7E #7EDEB7
split-complementary
#877EDE #DEB77E #A5DE7E
monochromatic
#3A2EB4 #5A4DD2 #877EDE #B4AFEA #E2DFF7

Accessibility & contrast

On white

3.46
#877EDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#877EDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EDE
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EDE#FFFFFF#000000##000000
##877EDE1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8CE2
Deuteranopia (green-blind)
#5A87DC
Tritanopia (blue-blind)
#6F91A3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #877ede;
/* rgb */ color: rgb(135, 126, 222);
/* oklch */ color: oklch(64.3% 0.141 286.0);
Tailwind
colors: {
  custom: {
    50: '#ada3e9',
    500: '#877ede',
    950: '#000000',
  },
}
SCSS
$custom: #877ede;
$custom-light: #ada3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#877ede",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 222
  },
  "hsl": {
    "h": 245.625,
    "s": 59.259,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64323,
    "c": 0.14076,
    "h": 286
  },
  "luminance": 0.25347
}

Semantic roles & 50–950 ramp

primary
#877EDE
secondary
#E8EACD
accent
#C71FB7
background
#FAFAFE
surface
#F5F3FD
border
#CFCDD5
text
#110F16
muted
#807F84

Preview Lab

Preview with #877EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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