#877BC9#877BC9

#877BC9 is a light, moderate blue. Relative luminance 0.235; OKLCH L 62.6% C 0.116 H 289.7°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#877BC9
RGBrgb(135, 123, 201)
HSLhsl(249, 42%, 64%)
HSVhsv(249, 39%, 79%)
CMYKcmyk(32.8%, 38.8%, 0%, 21.2%)
CIE-LABlab(55.62, 22.46, -38.96)
CIE-LCHlch(55.62, 44.97, 299.97°)
OKLaboklab(62.62% 0.039 -0.1091)
OKLCHoklch(62.62% 0.116 289.7)
XYZxyz(27.6145, 23.5332, 58.3345)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BC9 #BDC97B
analogous
#7B96C9 #877BC9 #AE7BC9
triadic
#877BC9 #C9877B #7BC987
tetradic
#877BC9 #C97B96 #BDC97B #7BC9AE
square
#877BC9 #C97B96 #BDC97B #7BC9AE
split-complementary
#877BC9 #C9AE7B #96C97B
monochromatic
#483B8F #6050B7 #877BC9 #AEA6DB #D6D2ED

Accessibility & contrast

On white

3.68
#877BC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#877BC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BC9
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BC9#FFFFFF#000000##000000
##877BC91.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6387CC
Deuteranopia (green-blind)
#6483C7
Tritanopia (blue-blind)
#778998
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #877bc9;
/* rgb */ color: rgb(135, 123, 201);
/* oklch */ color: oklch(62.6% 0.116 289.7);
Tailwind
colors: {
  custom: {
    50: '#aca1da',
    500: '#877bc9',
    950: '#000000',
  },
}
SCSS
$custom: #877bc9;
$custom-light: #aca1da;
$custom-dark: #000000;
JSON
{
  "hex": "#877bc9",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 201
  },
  "hsl": {
    "h": 249.231,
    "s": 41.935,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62618,
    "c": 0.11583,
    "h": 289.7
  },
  "luminance": 0.23534
}

Semantic roles & 50–950 ramp

primary
#877BC9
secondary
#D9DEC2
accent
#B530A1
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100F15
muted
#7F7E83

Preview Lab

Preview with #877BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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