#877EFD#877EFD

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

Color values

HEX#877EFD
RGBrgb(135, 126, 253)
HSLhsl(244, 97%, 74%)
HSVhsv(244, 50%, 99%)
CMYKcmyk(46.6%, 50.2%, 0%, 0.8%)
CIE-LABlab(59.12, 35.17, -62.45)
CIE-LCHlch(59.12, 71.68, 299.39°)
OKLaboklab(66.17% 0.0424 -0.1777)
OKLCHoklch(66.17% 0.183 283.4)
XYZxyz(35.1769, 27.1628, 96.2989)
Luminance0.2716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EFD #F4FD7E
analogous
#7EB5FD #877EFD #C77EFD
triadic
#877EFD #FD877E #7EFD87
tetradic
#877EFD #FD7EB5 #F4FD7E #7EFDC7
square
#877EFD #FD7EB5 #F4FD7E #7EFDC7
split-complementary
#877EFD #FDC77E #B5FD7E
monochromatic
#1705FB #4F42FC #877EFD #BFBAFE #E3E1FF

Accessibility & contrast

On white

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

On black

6.43
#877EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EFD
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EFD#FFFFFF#000000##000000
##877EFD1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4292FF
Deuteranopia (green-blind)
#3C8AFA
Tritanopia (blue-blind)
#5E99B2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #877efd;
/* rgb */ color: rgb(135, 126, 253);
/* oklch */ color: oklch(66.2% 0.183 283.4);
Tailwind
colors: {
  custom: {
    50: '#b0a3ff',
    500: '#877efd',
    950: '#000000',
  },
}
SCSS
$custom: #877efd;
$custom-light: #b0a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#877efd",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 244.252,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.6617,
    "c": 0.18273,
    "h": 283.4
  },
  "luminance": 0.27164
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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