#877BEE#877BEE

#877BEE is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.7% C 0.167 H 285.5°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#877BEE
RGBrgb(135, 123, 238)
HSLhsl(246, 77%, 71%)
HSVhsv(246, 48%, 93%)
CMYKcmyk(43.3%, 48.3%, 0%, 6.7%)
CIE-LABlab(57.55, 32.63, -56.68)
CIE-LCHlch(57.55, 65.40, 299.93°)
OKLaboklab(64.71% 0.0446 -0.1608)
OKLCHoklch(64.71% 0.167 285.5)
XYZxyz(32.5028, 25.4885, 84.0795)
Luminance0.2549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BEE #E2EE7B
analogous
#7BA8EE #877BEE #C07BEE
triadic
#877BEE #EE877B #7BEE87
tetradic
#877BEE #EE7BA8 #E2EE7B #7BEEC0
square
#877BEE #EE7BA8 #E2EE7B #7BEEC0
split-complementary
#877BEE #EEC07B #A8EE7B
monochromatic
#2E1BD3 #5645E7 #877BEE #B8B1F5 #E6E4FC

Accessibility & contrast

On white

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

On black

6.10
#877BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BEE
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BEE#FFFFFF#000000##000000
##877BEE1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8DF2
Deuteranopia (green-blind)
#4887EB
Tritanopia (blue-blind)
#6793A9
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #877bee;
/* rgb */ color: rgb(135, 123, 238);
/* oklch */ color: oklch(64.7% 0.167 285.5);
Tailwind
colors: {
  custom: {
    50: '#afa1f4',
    500: '#877bee',
    950: '#000000',
  },
}
SCSS
$custom: #877bee;
$custom-light: #afa1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#877bee",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 246.261,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64708,
    "c": 0.16688,
    "h": 285.5
  },
  "luminance": 0.2549
}

Semantic roles & 50–950 ramp

primary
#877BEE
secondary
#EFF2D3
accent
#D90CC4
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110F17
muted
#807E85

Preview Lab

Preview with #877BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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