#877CCB#877CCB

#877CCB is a light, moderate blue. Relative luminance 0.239; OKLCH L 62.9% C 0.117 H 289.0°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#877CCB
RGBrgb(135, 124, 203)
HSLhsl(248, 43%, 64%)
HSVhsv(248, 39%, 80%)
CMYKcmyk(33.5%, 38.9%, 0%, 20.4%)
CIE-LABlab(55.96, 22.40, -39.55)
CIE-LCHlch(55.96, 45.45, 299.53°)
OKLaboklab(62.91% 0.0381 -0.1108)
OKLCHoklch(62.91% 0.117 289)
XYZxyz(27.9760, 23.8773, 59.6231)
Luminance0.2388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CCB #C0CB7C
analogous
#7C99CB #877CCB #AF7CCB
triadic
#877CCB #CB877C #7CCB87
tetradic
#877CCB #CB7C99 #C0CB7C #7CCBAF
square
#877CCB #CB7C99 #C0CB7C #7CCBAF
split-complementary
#877CCB #CBAF7C #99CB7C
monochromatic
#463A92 #5F50BA #877CCB #AFA8DC #D7D4EE

Accessibility & contrast

On white

3.64
#877CCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#877CCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CCB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CCB#FFFFFF#000000##000000
##877CCB1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6488CE
Deuteranopia (green-blind)
#6484C9
Tritanopia (blue-blind)
#768B9A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #877ccb;
/* rgb */ color: rgb(135, 124, 203);
/* oklch */ color: oklch(62.9% 0.117 289.0);
Tailwind
colors: {
  custom: {
    50: '#aca2db',
    500: '#877ccb',
    950: '#000000',
  },
}
SCSS
$custom: #877ccb;
$custom-light: #aca2db;
$custom-dark: #000000;
JSON
{
  "hex": "#877ccb",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 203
  },
  "hsl": {
    "h": 248.354,
    "s": 43.169,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62914,
    "c": 0.11712,
    "h": 289
  },
  "luminance": 0.23878
}

Semantic roles & 50–950 ramp

primary
#877CCB
secondary
#DBDFC4
accent
#B62FA3
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100F15
muted
#7F7E83

Preview Lab

Preview with #877CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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