#877EFB#877EFB

#877EFB is a light, vivid blue. Relative luminance 0.270; OKLCH L 66.0% C 0.180 H 283.6°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#877EFB
RGBrgb(135, 126, 251)
HSLhsl(244, 94%, 74%)
HSVhsv(244, 50%, 98%)
CMYKcmyk(46.2%, 49.8%, 0%, 1.6%)
CIE-LABlab(59.01, 34.59, -61.54)
CIE-LCHlch(59.01, 70.60, 299.34°)
OKLaboklab(66.04% 0.0422 -0.1751)
OKLCHoklch(66.04% 0.18 283.6)
XYZxyz(34.8600, 27.0360, 94.6297)
Luminance0.2704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EFB #F2FB7E
analogous
#7EB4FB #877EFB #C67EFB
triadic
#877EFB #FB877E #7EFB87
tetradic
#877EFB #FB7EB4 #F2FB7E #7EFBC6
square
#877EFB #FB7EB4 #F2FB7E #7EFBC6
split-complementary
#877EFB #FBC67E #B4FB7E
monochromatic
#1908F7 #5043F9 #877EFB #BEB9FD #E3E1FE

Accessibility & contrast

On white

3.28
#877EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#877EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EFB
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EFB#FFFFFF#000000##000000
##877EFB1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4592FF
Deuteranopia (green-blind)
#3E8AF8
Tritanopia (blue-blind)
#6099B1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #877efb;
/* rgb */ color: rgb(135, 126, 251);
/* oklch */ color: oklch(66.0% 0.180 283.6);
Tailwind
colors: {
  custom: {
    50: '#b0a3fd',
    500: '#877efb',
    950: '#000000',
  },
}
SCSS
$custom: #877efb;
$custom-light: #b0a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#877efb",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 244.32,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.66044,
    "c": 0.18008,
    "h": 283.6
  },
  "luminance": 0.27038
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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