#877FEC#877FEC

#877FEC is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.3% C 0.159 H 284.4°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#877FEC
RGBrgb(135, 127, 236)
HSLhsl(244, 74%, 71%)
HSVhsv(244, 46%, 93%)
CMYKcmyk(42.8%, 46.2%, 0%, 7.5%)
CIE-LABlab(58.40, 29.72, -54.21)
CIE-LCHlch(58.40, 61.82, 298.74°)
OKLaboklab(65.31% 0.0395 -0.1535)
OKLCHoklch(65.31% 0.159 284.4)
XYZxyz(32.7170, 26.3844, 82.7095)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FEC #E4EC7F
analogous
#7FADEC #877FEC #BD7FEC
triadic
#877FEC #EC877F #7FEC87
tetradic
#877FEC #EC7FAD #E4EC7F #7FECBD
square
#877FEC #EC7FAD #E4EC7F #7FECBD
split-complementary
#877FEC #ECBD7F #ADEC7F
monochromatic
#2C1FD2 #554AE4 #877FEC #B9B4F4 #E6E4FB

Accessibility & contrast

On white

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

On black

6.28
#877FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FEC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FEC#FFFFFF#000000##000000
##877FEC1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5490F0
Deuteranopia (green-blind)
#5089EA
Tritanopia (blue-blind)
#6895AA
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877fec;
/* rgb */ color: rgb(135, 127, 236);
/* oklch */ color: oklch(65.3% 0.159 284.4);
Tailwind
colors: {
  custom: {
    50: '#afa4f3',
    500: '#877fec',
    950: '#000000',
  },
}
SCSS
$custom: #877fec;
$custom-light: #afa4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#877fec",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 236
  },
  "hsl": {
    "h": 244.404,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.65314,
    "c": 0.15856,
    "h": 284.4
  },
  "luminance": 0.26386
}

Semantic roles & 50–950 ramp

primary
#877FEC
secondary
#F0F2D5
accent
#D60FC8
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #877FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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