#877BC8#877BC8

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

Color values

HEX#877BC8
RGBrgb(135, 123, 200)
HSLhsl(249, 41%, 63%)
HSVhsv(249, 39%, 78%)
CMYKcmyk(32.5%, 38.5%, 0%, 21.6%)
CIE-LABlab(55.57, 22.20, -38.47)
CIE-LCHlch(55.57, 44.41, 299.99°)
OKLaboklab(62.57% 0.0388 -0.1076)
OKLCHoklch(62.57% 0.114 289.8)
XYZxyz(27.4972, 23.4863, 57.7170)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BC8 #BCC87B
analogous
#7B95C8 #877BC8 #AD7BC8
triadic
#877BC8 #C8877B #7BC887
tetradic
#877BC8 #C87B95 #BCC87B #7BC8AD
square
#877BC8 #C87B95 #BCC87B #7BC8AD
split-complementary
#877BC8 #C8AD7B #95C87B
monochromatic
#483B8E #6050B6 #877BC8 #AEA6DA #D6D1EC

Accessibility & contrast

On white

3.69
#877BC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#877BC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BC8
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BC8#FFFFFF#000000##000000
##877BC81.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6487CB
Deuteranopia (green-blind)
#6483C6
Tritanopia (blue-blind)
#778998
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #877bc8;
/* rgb */ color: rgb(135, 123, 200);
/* oklch */ color: oklch(62.6% 0.114 289.8);
Tailwind
colors: {
  custom: {
    50: '#aca1d9',
    500: '#877bc8',
    950: '#000000',
  },
}
SCSS
$custom: #877bc8;
$custom-light: #aca1d9;
$custom-dark: #000000;
JSON
{
  "hex": "#877bc8",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 200
  },
  "hsl": {
    "h": 249.351,
    "s": 41.176,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62567,
    "c": 0.11441,
    "h": 289.8
  },
  "luminance": 0.23487
}

Semantic roles & 50–950 ramp

primary
#877BC8
secondary
#D9DDC2
accent
#B431A0
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100F14
muted
#7F7E83

Preview Lab

Preview with #877BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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