#877FDE#877FDE

#877FDE is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.5% C 0.139 H 285.6°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#877FDE
RGBrgb(135, 127, 222)
HSLhsl(245, 59%, 68%)
HSVhsv(245, 43%, 87%)
CMYKcmyk(39.2%, 42.8%, 0%, 12.9%)
CIE-LABlab(57.66, 25.80, -47.58)
CIE-LCHlch(57.66, 54.12, 298.47°)
OKLaboklab(64.51% 0.0375 -0.1342)
OKLCHoklch(64.51% 0.139 285.6)
XYZxyz(30.7622, 25.6025, 72.4140)
Luminance0.2560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FDE #D6DE7F
analogous
#7FA6DE #877FDE #B67FDE
triadic
#877FDE #DE877F #7FDE87
tetradic
#877FDE #DE7FA6 #D6DE7F #7FDEB6
square
#877FDE #DE7FA6 #D6DE7F #7FDEB6
split-complementary
#877FDE #DEB67F #A6DE7F
monochromatic
#3A2EB4 #594ED1 #877FDE #B5B0EB #E2E0F7

Accessibility & contrast

On white

3.43
#877FDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#877FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FDE
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FDE#FFFFFF#000000##000000
##877FDE1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8DE2
Deuteranopia (green-blind)
#5B88DC
Tritanopia (blue-blind)
#6E92A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #877fde;
/* rgb */ color: rgb(135, 127, 222);
/* oklch */ color: oklch(64.5% 0.139 285.6);
Tailwind
colors: {
  custom: {
    50: '#ada4e9',
    500: '#877fde',
    950: '#000000',
  },
}
SCSS
$custom: #877fde;
$custom-light: #ada4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#877fde",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 222
  },
  "hsl": {
    "h": 245.053,
    "s": 59.006,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6451,
    "c": 0.13931,
    "h": 285.6
  },
  "luminance": 0.25604
}

Semantic roles & 50–950 ramp

primary
#877FDE
secondary
#E8EBCE
accent
#C71FB9
background
#FAFAFE
surface
#F5F4FD
border
#CFCED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #877FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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