#877EDD#877EDD

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

Color values

HEX#877EDD
RGBrgb(135, 126, 221)
HSLhsl(246, 58%, 68%)
HSVhsv(246, 43%, 87%)
CMYKcmyk(38.9%, 43%, 0%, 13.3%)
CIE-LABlab(57.36, 26.11, -47.49)
CIE-LCHlch(57.36, 54.20, 298.80°)
OKLaboklab(64.27% 0.0387 -0.1339)
OKLCHoklch(64.27% 0.139 286.1)
XYZxyz(30.5000, 25.2920, 71.6674)
Luminance0.2529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EDD #D4DD7E
analogous
#7EA4DD #877EDD #B67EDD
triadic
#877EDD #DD877E #7EDD87
tetradic
#877EDD #DD7EA4 #D4DD7E #7EDDB6
square
#877EDD #DD7EA4 #D4DD7E #7EDDB6
split-complementary
#877EDD #DDB67E #A4DD7E
monochromatic
#3B2FB2 #5A4ED0 #877EDD #B4AEEA #E1DFF7

Accessibility & contrast

On white

3.47
#877EDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#877EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EDD
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EDD#FFFFFF#000000##000000
##877EDD1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #877edd;
/* rgb */ color: rgb(135, 126, 221);
/* oklch */ color: oklch(64.3% 0.139 286.1);
Tailwind
colors: {
  custom: {
    50: '#ada3e8',
    500: '#877edd',
    950: '#000000',
  },
}
SCSS
$custom: #877edd;
$custom-light: #ada3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#877edd",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 221
  },
  "hsl": {
    "h": 245.684,
    "s": 58.282,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64267,
    "c": 0.13938,
    "h": 286.1
  },
  "luminance": 0.25293
}

Semantic roles & 50–950 ramp

primary
#877EDD
secondary
#E7EACD
accent
#C620B6
background
#FAFAFE
surface
#F5F3FC
border
#CFCDD5
text
#110F16
muted
#807F84

Preview Lab

Preview with #877EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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