#877BD2#877BD2

#877BD2 is a light, vivid blue. Relative luminance 0.240; OKLCH L 63.1% C 0.129 H 288.5°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#877BD2
RGBrgb(135, 123, 210)
HSLhsl(248, 49%, 65%)
HSVhsv(248, 41%, 82%)
CMYKcmyk(35.7%, 41.4%, 0%, 17.6%)
CIE-LABlab(56.06, 24.87, -43.36)
CIE-LCHlch(56.06, 49.99, 299.83°)
OKLaboklab(63.1% 0.0407 -0.1219)
OKLCHoklch(63.1% 0.129 288.5)
XYZxyz(28.7044, 23.9692, 64.0744)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BD2 #C6D27B
analogous
#7B9AD2 #877BD2 #B37BD2
triadic
#877BD2 #D2877B #7BD287
tetradic
#877BD2 #D27B9A #C6D27B #7BD2B3
square
#877BD2 #D27B9A #C6D27B #7BD2B3
split-complementary
#877BD2 #D2B37B #9AD27B
monochromatic
#44369D #5E4DC2 #877BD2 #B0A9E2 #DAD6F1

Accessibility & contrast

On white

3.62
#877BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#877BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BD2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BD2#FFFFFF#000000##000000
##877BD21.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F88D5
Deuteranopia (green-blind)
#5E84D0
Tritanopia (blue-blind)
#748C9C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #877bd2;
/* rgb */ color: rgb(135, 123, 210);
/* oklch */ color: oklch(63.1% 0.129 288.5);
Tailwind
colors: {
  custom: {
    50: '#ada1e0',
    500: '#877bd2',
    950: '#000000',
  },
}
SCSS
$custom: #877bd2;
$custom-light: #ada1e0;
$custom-dark: #000000;
JSON
{
  "hex": "#877bd2",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 210
  },
  "hsl": {
    "h": 248.276,
    "s": 49.153,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63097,
    "c": 0.1285,
    "h": 288.5
  },
  "luminance": 0.2397
}

Semantic roles & 50–950 ramp

primary
#877BD2
secondary
#DFE3C6
accent
#BC29A8
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100F15
muted
#7F7E83

Preview Lab

Preview with #877BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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