#877BD8#877BD8

#877BD8 is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.4% C 0.137 H 287.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#877BD8
RGBrgb(135, 123, 216)
HSLhsl(248, 54%, 66%)
HSVhsv(248, 43%, 85%)
CMYKcmyk(37.5%, 43.1%, 0%, 15.3%)
CIE-LABlab(56.36, 26.50, -46.27)
CIE-LCHlch(56.36, 53.32, 299.80°)
OKLaboklab(63.43% 0.0417 -0.1303)
OKLCHoklch(63.43% 0.137 287.8)
XYZxyz(29.4659, 24.2738, 68.0852)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BD8 #CCD87B
analogous
#7B9ED8 #877BD8 #B67BD8
triadic
#877BD8 #D8877B #7BD887
tetradic
#877BD8 #D87B9E #CCD87B #7BD8B6
square
#877BD8 #D87B9E #CCD87B #7BD8B6
split-complementary
#877BD8 #D8B67B #9ED87B
monochromatic
#4131A7 #5C4CCA #877BD8 #B2AAE6 #DDD9F4

Accessibility & contrast

On white

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

On black

5.86
#877BD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BD8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BD8#FFFFFF#000000##000000
##877BD81.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B89DB
Deuteranopia (green-blind)
#5A85D6
Tritanopia (blue-blind)
#718D9F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #877bd8;
/* rgb */ color: rgb(135, 123, 216);
/* oklch */ color: oklch(63.4% 0.137 287.8);
Tailwind
colors: {
  custom: {
    50: '#ada1e4',
    500: '#877bd8',
    950: '#000000',
  },
}
SCSS
$custom: #877bd8;
$custom-light: #ada1e4;
$custom-dark: #000000;
JSON
{
  "hex": "#877bd8",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 216
  },
  "hsl": {
    "h": 247.742,
    "s": 54.386,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63426,
    "c": 0.13685,
    "h": 287.8
  },
  "luminance": 0.24275
}

Semantic roles & 50–950 ramp

primary
#877BD8
secondary
#E3E6C8
accent
#C224AD
background
#FAF9FE
surface
#F5F2FC
border
#CFCCD5
text
#100F15
muted
#7F7E84

Preview Lab

Preview with #877BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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