#877EF1#877EF1

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

Color values

HEX#877EF1
RGBrgb(135, 126, 241)
HSLhsl(245, 80%, 72%)
HSVhsv(245, 48%, 95%)
CMYKcmyk(44%, 47.7%, 0%, 5.5%)
CIE-LABlab(58.44, 31.73, -56.93)
CIE-LCHlch(58.44, 65.17, 299.13°)
OKLaboklab(65.43% 0.0413 -0.1615)
OKLCHoklch(65.43% 0.167 284.3)
XYZxyz(33.3251, 26.4220, 86.5461)
Luminance0.2642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EF1 #E8F17E
analogous
#7EAEF1 #877EF1 #C17EF1
triadic
#877EF1 #F1877E #7EF187
tetradic
#877EF1 #F17EAE #E8F17E #7EF1C1
square
#877EF1 #F17EAE #E8F17E #7EF1C1
split-complementary
#877EF1 #F1C17E #AEF17E
monochromatic
#2718DD #5447EB #877EF1 #BAB5F7 #E5E3FC

Accessibility & contrast

On white

3.34
#877EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##877EF1#FFFFFF#000000##000000
##877EF11.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E90F5
Deuteranopia (green-blind)
#4A89EE
Tritanopia (blue-blind)
#6596AC
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877ef1;
/* rgb */ color: rgb(135, 126, 241);
/* oklch */ color: oklch(65.4% 0.167 284.3);
Tailwind
colors: {
  custom: {
    50: '#afa3f6',
    500: '#877ef1',
    950: '#000000',
  },
}
SCSS
$custom: #877ef1;
$custom-light: #afa3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#877ef1",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 241
  },
  "hsl": {
    "h": 244.696,
    "s": 80.42,
    "l": 71.961
  },
  "oklch": {
    "l": 0.6543,
    "c": 0.16672,
    "h": 284.3
  },
  "luminance": 0.26423
}

Semantic roles & 50–950 ramp

primary
#877EF1
secondary
#F2F4D7
accent
#DD09CC
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #877EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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