#877EF4#877EF4

#877EF4 is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.6% C 0.171 H 284.1°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#877EF4
RGBrgb(135, 126, 244)
HSLhsl(245, 84%, 73%)
HSVhsv(245, 48%, 96%)
CMYKcmyk(44.7%, 48.4%, 0%, 4.3%)
CIE-LABlab(58.60, 32.59, -58.32)
CIE-LCHlch(58.60, 66.80, 299.19°)
OKLaboklab(65.61% 0.0416 -0.1656)
OKLCHoklch(65.61% 0.171 284.1)
XYZxyz(33.7769, 26.6028, 88.9255)
Luminance0.2660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EF4 #EBF47E
analogous
#7EB0F4 #877EF4 #C27EF4
triadic
#877EF4 #F4877E #7EF487
tetradic
#877EF4 #F47EB0 #EBF47E #7EF4C2
square
#877EF4 #F47EB0 #EBF47E #7EF4C2
split-complementary
#877EF4 #F4C27E #B0F47E
monochromatic
#2313E4 #5346EF #877EF4 #BBB6F9 #E5E3FD

Accessibility & contrast

On white

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

On black

6.32
#877EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EF4
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EF4#FFFFFF#000000##000000
##877EF41.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B91F8
Deuteranopia (green-blind)
#4789F1
Tritanopia (blue-blind)
#6497AD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #877ef4;
/* rgb */ color: rgb(135, 126, 244);
/* oklch */ color: oklch(65.6% 0.171 284.1);
Tailwind
colors: {
  custom: {
    50: '#b0a3f8',
    500: '#877ef4',
    950: '#000000',
  },
}
SCSS
$custom: #877ef4;
$custom-light: #b0a3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#877ef4",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 244
  },
  "hsl": {
    "h": 244.576,
    "s": 84.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65612,
    "c": 0.17075,
    "h": 284.1
  },
  "luminance": 0.26604
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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