#877FEB#877FEB

#877FEB is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.3% C 0.157 H 284.5°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#877FEB
RGBrgb(135, 127, 235)
HSLhsl(244, 73%, 71%)
HSVhsv(244, 46%, 92%)
CMYKcmyk(42.6%, 46%, 0%, 7.8%)
CIE-LABlab(58.35, 29.44, -53.74)
CIE-LCHlch(58.35, 61.28, 298.72°)
OKLaboklab(65.26% 0.0394 -0.1522)
OKLCHoklch(65.26% 0.157 284.5)
XYZxyz(32.5721, 26.3265, 81.9464)
Luminance0.2633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FEB #E3EB7F
analogous
#7FADEB #877FEB #BD7FEB
triadic
#877FEB #EB877F #7FEB87
tetradic
#877FEB #EB7FAD #E3EB7F #7FEBBD
square
#877FEB #EB7FAD #E3EB7F #7FEBBD
split-complementary
#877FEB #EBBD7F #ADEB7F
monochromatic
#2D20CF #554AE3 #877FEB #B9B4F3 #E6E5FB

Accessibility & contrast

On white

3.35
#877FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#877FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FEB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FEB#FFFFFF#000000##000000
##877FEB1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590EF
Deuteranopia (green-blind)
#5189E9
Tritanopia (blue-blind)
#6895AA
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877feb;
/* rgb */ color: rgb(135, 127, 235);
/* oklch */ color: oklch(65.3% 0.157 284.5);
Tailwind
colors: {
  custom: {
    50: '#afa4f2',
    500: '#877feb',
    950: '#000000',
  },
}
SCSS
$custom: #877feb;
$custom-light: #afa4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#877feb",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 244.444,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.65255,
    "c": 0.1572,
    "h": 284.5
  },
  "luminance": 0.26328
}

Semantic roles & 50–950 ramp

primary
#877FEB
secondary
#EFF1D5
accent
#D510C6
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #877FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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