#877EEE#877EEE

#877EEE is a light, vivid blue. Relative luminance 0.262; OKLCH L 65.3% C 0.163 H 284.6°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#877EEE
RGBrgb(135, 126, 238)
HSLhsl(245, 77%, 71%)
HSVhsv(245, 47%, 93%)
CMYKcmyk(43.3%, 47.1%, 0%, 6.7%)
CIE-LABlab(58.27, 30.88, -55.53)
CIE-LCHlch(58.27, 63.54, 299.07°)
OKLaboklab(65.25% 0.041 -0.1574)
OKLCHoklch(65.25% 0.163 284.6)
XYZxyz(32.8807, 26.2443, 84.2055)
Luminance0.2625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EEE #E5EE7E
analogous
#7EADEE #877EEE #BF7EEE
triadic
#877EEE #EE877E #7EEE87
tetradic
#877EEE #EE7EAD #E5EE7E #7EEEBF
square
#877EEE #EE7EAD #E5EE7E #7EEEBF
split-complementary
#877EEE #EEBF7E #ADEE7E
monochromatic
#2B1CD5 #5548E7 #877EEE #B9B4F5 #E6E4FB

Accessibility & contrast

On white

3.36
#877EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#877EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EEE
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EEE#FFFFFF#000000##000000
##877EEE1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#518FF2
Deuteranopia (green-blind)
#4D89EB
Tritanopia (blue-blind)
#6795AB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877eee;
/* rgb */ color: rgb(135, 126, 238);
/* oklch */ color: oklch(65.3% 0.163 284.6);
Tailwind
colors: {
  custom: {
    50: '#afa3f4',
    500: '#877eee',
    950: '#000000',
  },
}
SCSS
$custom: #877eee;
$custom-light: #afa3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#877eee",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 238
  },
  "hsl": {
    "h": 244.821,
    "s": 76.712,
    "l": 71.373
  },
  "oklch": {
    "l": 0.6525,
    "c": 0.16267,
    "h": 284.6
  },
  "luminance": 0.26246
}

Semantic roles & 50–950 ramp

primary
#877EEE
secondary
#F0F2D5
accent
#D90DC9
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F17
muted
#807F85

Preview Lab

Preview with #877EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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