#877FEA#877FEA

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

Color values

HEX#877FEA
RGBrgb(135, 127, 234)
HSLhsl(244, 72%, 71%)
HSVhsv(244, 46%, 92%)
CMYKcmyk(42.3%, 45.7%, 0%, 8.2%)
CIE-LABlab(58.29, 29.16, -53.27)
CIE-LCHlch(58.29, 60.73, 298.69°)
OKLaboklab(65.2% 0.0393 -0.1508)
OKLCHoklch(65.2% 0.156 284.6)
XYZxyz(32.4280, 26.2688, 81.1877)
Luminance0.2627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FEA #E2EA7F
analogous
#7FACEA #877FEA #BC7FEA
triadic
#877FEA #EA877F #7FEA87
tetradic
#877FEA #EA7FAC #E2EA7F #7FEABC
square
#877FEA #EA7FAC #E2EA7F #7FEABC
split-complementary
#877FEA #EABC7F #ACEA7F
monochromatic
#2E22CD #564AE1 #877FEA #B8B4F3 #E6E5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877FEA#FFFFFF#000000##000000
##877FEA1.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)
#558FEE
Deuteranopia (green-blind)
#5289E8
Tritanopia (blue-blind)
#6995A9
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877fea;
/* rgb */ color: rgb(135, 127, 234);
/* oklch */ color: oklch(65.2% 0.156 284.6);
Tailwind
colors: {
  custom: {
    50: '#afa4f1',
    500: '#877fea',
    950: '#000000',
  },
}
SCSS
$custom: #877fea;
$custom-light: #afa4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#877fea",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 234
  },
  "hsl": {
    "h": 244.486,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.65196,
    "c": 0.15583,
    "h": 284.6
  },
  "luminance": 0.2627
}

Semantic roles & 50–950 ramp

primary
#877FEA
secondary
#EFF1D4
accent
#D412C5
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #877FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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