#877DEB#877DEB

#877DEB is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.9% C 0.160 H 285.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#877DEB
RGBrgb(135, 125, 235)
HSLhsl(245, 73%, 71%)
HSVhsv(245, 47%, 92%)
CMYKcmyk(42.6%, 46.8%, 0%, 7.8%)
CIE-LABlab(57.86, 30.61, -54.51)
CIE-LCHlch(57.86, 62.52, 299.32°)
OKLaboklab(64.89% 0.0418 -0.1544)
OKLCHoklch(64.89% 0.16 285.2)
XYZxyz(32.3164, 25.8150, 81.8612)
Luminance0.2582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DEB #E1EB7D
analogous
#7DAAEB #877DEB #BE7DEB
triadic
#877DEB #EB877D #7DEB87
tetradic
#877DEB #EB7DAA #E1EB7D #7DEBBE
square
#877DEB #EB7DAA #E1EB7D #7DEBBE
split-complementary
#877DEB #EBBE7D #AAEB7D
monochromatic
#3020CE #5648E3 #877DEB #B8B2F3 #E7E4FB

Accessibility & contrast

On white

3.41
#877DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#877DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DEB
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DEB#FFFFFF#000000##000000
##877DEB1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#518EEF
Deuteranopia (green-blind)
#4E88E8
Tritanopia (blue-blind)
#6994A9
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877deb;
/* rgb */ color: rgb(135, 125, 235);
/* oklch */ color: oklch(64.9% 0.160 285.2);
Tailwind
colors: {
  custom: {
    50: '#afa2f2',
    500: '#877deb',
    950: '#000000',
  },
}
SCSS
$custom: #877deb;
$custom-light: #afa2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#877deb",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 245.455,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64889,
    "c": 0.16001,
    "h": 285.2
  },
  "luminance": 0.25816
}

Semantic roles & 50–950 ramp

primary
#877DEB
secondary
#EEF1D3
accent
#D510C3
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F17
muted
#807F85

Preview Lab

Preview with #877DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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