#877EFE#877EFE

#877EFE is a light, vivid blue. Relative luminance 0.272; OKLCH L 66.2% C 0.184 H 283.3°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#877EFE
RGBrgb(135, 126, 254)
HSLhsl(244, 98%, 75%)
HSVhsv(244, 50%, 100%)
CMYKcmyk(46.9%, 50.4%, 0%, 0.4%)
CIE-LABlab(59.18, 35.46, -62.91)
CIE-LCHlch(59.18, 72.21, 299.41°)
OKLaboklab(66.23% 0.0424 -0.1791)
OKLCHoklch(66.23% 0.184 283.3)
XYZxyz(35.3366, 27.2267, 97.1400)
Luminance0.2723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EFE #F5FE7E
analogous
#7EB5FE #877EFE #C77EFE
triadic
#877EFE #FE877E #7EFE87
tetradic
#877EFE #FE7EB5 #F5FE7E #7EFEC7
square
#877EFE #FE7EB5 #F5FE7E #7EFEC7
split-complementary
#877EFE #FEC77E #B5FE7E
monochromatic
#1605FD #4F41FE #877EFE #BFBBFE #E3E1FF

Accessibility & contrast

On white

3.26
#877EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#877EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EFE
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EFE#FFFFFF#000000##000000
##877EFE1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4193FF
Deuteranopia (green-blind)
#3A8AFB
Tritanopia (blue-blind)
#5E9AB2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #877efe;
/* rgb */ color: rgb(135, 126, 254);
/* oklch */ color: oklch(66.2% 0.184 283.3);
Tailwind
colors: {
  custom: {
    50: '#b1a3ff',
    500: '#877efe',
    950: '#000000',
  },
}
SCSS
$custom: #877efe;
$custom-light: #b1a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#877efe",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 244.219,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.66233,
    "c": 0.18405,
    "h": 283.3
  },
  "luminance": 0.27228
}

Semantic roles & 50–950 ramp

primary
#877EFE
secondary
#F5F7D4
accent
#E600D5
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F18
muted
#807F86

Preview Lab

Preview with #877EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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