#877BDB#877BDB

#877BDB is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.6% C 0.141 H 287.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#877BDB
RGBrgb(135, 123, 219)
HSLhsl(248, 57%, 67%)
HSVhsv(248, 44%, 86%)
CMYKcmyk(38.4%, 43.8%, 0%, 14.1%)
CIE-LABlab(56.52, 27.32, -47.71)
CIE-LCHlch(56.52, 54.98, 299.80°)
OKLaboklab(63.59% 0.0422 -0.1345)
OKLCHoklch(63.59% 0.141 287.4)
XYZxyz(29.8573, 24.4303, 70.1465)
Luminance0.2443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BDB #CFDB7B
analogous
#7B9FDB #877BDB #B77BDB
triadic
#877BDB #DB877B #7BDB87
tetradic
#877BDB #DB7B9F #CFDB7B #7BDBB7
square
#877BDB #DB7B9F #CFDB7B #7BDBB7
split-complementary
#877BDB #DBB77B #9FDB7B
monochromatic
#3F2FAD #5B4BCE #877BDB #B3ABE8 #DEDBF5

Accessibility & contrast

On white

3.57
#877BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#877BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BDB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BDB#FFFFFF#000000##000000
##877BDB1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#598ADF
Deuteranopia (green-blind)
#5885D9
Tritanopia (blue-blind)
#708EA0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #877bdb;
/* rgb */ color: rgb(135, 123, 219);
/* oklch */ color: oklch(63.6% 0.141 287.4);
Tailwind
colors: {
  custom: {
    50: '#ada1e6',
    500: '#877bdb',
    950: '#000000',
  },
}
SCSS
$custom: #877bdb;
$custom-light: #ada1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#877bdb",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 219
  },
  "hsl": {
    "h": 247.5,
    "s": 57.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.63594,
    "c": 0.141,
    "h": 287.4
  },
  "luminance": 0.24431
}

Semantic roles & 50–950 ramp

primary
#877BDB
secondary
#E4E8CA
accent
#C521B0
background
#FAF9FE
surface
#F5F2FC
border
#CFCCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #877BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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