#877EF5#877EF5

#877EF5 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.7% C 0.172 H 284.0°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#877EF5
RGBrgb(135, 126, 245)
HSLhsl(245, 86%, 73%)
HSVhsv(245, 49%, 96%)
CMYKcmyk(44.9%, 48.6%, 0%, 3.9%)
CIE-LABlab(58.66, 32.87, -58.78)
CIE-LCHlch(58.66, 67.35, 299.21°)
OKLaboklab(65.67% 0.0417 -0.167)
OKLCHoklch(65.67% 0.172 284)
XYZxyz(33.9291, 26.6637, 89.7273)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EF5 #ECF57E
analogous
#7EB0F5 #877EF5 #C37EF5
triadic
#877EF5 #F5877E #7EF587
tetradic
#877EF5 #F57EB0 #ECF57E #7EF5C3
square
#877EF5 #F57EB0 #ECF57E #7EF5C3
split-complementary
#877EF5 #F5C37E #B0F57E
monochromatic
#2212E7 #5245F1 #877EF5 #BCB7F9 #E5E3FD

Accessibility & contrast

On white

3.32
#877EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#877EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EF5
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EF5#FFFFFF#000000##000000
##877EF51.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B91F9
Deuteranopia (green-blind)
#4689F2
Tritanopia (blue-blind)
#6397AE
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #877ef5;
/* rgb */ color: rgb(135, 126, 245);
/* oklch */ color: oklch(65.7% 0.172 284.0);
Tailwind
colors: {
  custom: {
    50: '#b0a3f9',
    500: '#877ef5',
    950: '#000000',
  },
}
SCSS
$custom: #877ef5;
$custom-light: #b0a3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#877ef5",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 244.538,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.65673,
    "c": 0.17209,
    "h": 284
  },
  "luminance": 0.26665
}

Semantic roles & 50–950 ramp

primary
#877EF5
secondary
#F2F5D6
accent
#E203D1
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #877EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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