#877BD7#877BD7

#877BD7 is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.4% C 0.135 H 287.9°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#877BD7
RGBrgb(135, 123, 215)
HSLhsl(248, 53%, 66%)
HSVhsv(248, 43%, 84%)
CMYKcmyk(37.2%, 42.8%, 0%, 15.7%)
CIE-LABlab(56.31, 26.23, -45.78)
CIE-LCHlch(56.31, 52.76, 299.81°)
OKLaboklab(63.37% 0.0416 -0.1289)
OKLCHoklch(63.37% 0.135 287.9)
XYZxyz(29.3370, 24.2222, 67.4065)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BD7 #CBD77B
analogous
#7B9DD7 #877BD7 #B57BD7
triadic
#877BD7 #D7877B #7BD787
tetradic
#877BD7 #D77B9D #CBD77B #7BD7B5
square
#877BD7 #D77B9D #CBD77B #7BD7B5
split-complementary
#877BD7 #D7B57B #9DD77B
monochromatic
#4132A5 #5C4CC9 #877BD7 #B2AAE5 #DCD9F3

Accessibility & contrast

On white

3.59
#877BD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#877BD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BD7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BD7#FFFFFF#000000##000000
##877BD71.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C89DA
Deuteranopia (green-blind)
#5B85D5
Tritanopia (blue-blind)
#728D9F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #877bd7;
/* rgb */ color: rgb(135, 123, 215);
/* oklch */ color: oklch(63.4% 0.135 287.9);
Tailwind
colors: {
  custom: {
    50: '#ada1e4',
    500: '#877bd7',
    950: '#000000',
  },
}
SCSS
$custom: #877bd7;
$custom-light: #ada1e4;
$custom-dark: #000000;
JSON
{
  "hex": "#877bd7",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 215
  },
  "hsl": {
    "h": 247.826,
    "s": 53.488,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63371,
    "c": 0.13546,
    "h": 287.9
  },
  "luminance": 0.24223
}

Semantic roles & 50–950 ramp

primary
#877BD7
secondary
#E2E6C8
accent
#C125AD
background
#FAF9FE
surface
#F5F2FC
border
#CFCCD5
text
#100F15
muted
#7F7E84

Preview Lab

Preview with #877BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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