#877BC5#877BC5

#877BC5 is a light, moderate blue. Relative luminance 0.233; OKLCH L 62.4% C 0.110 H 290.3°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#877BC5
RGBrgb(135, 123, 197)
HSLhsl(250, 39%, 63%)
HSVhsv(250, 38%, 77%)
CMYKcmyk(31.5%, 37.6%, 0%, 22.7%)
CIE-LABlab(55.43, 21.41, -36.98)
CIE-LCHlch(55.43, 42.73, 300.07°)
OKLaboklab(62.41% 0.0382 -0.1033)
OKLCHoklch(62.41% 0.11 290.3)
XYZxyz(27.1501, 23.3475, 55.8886)
Luminance0.2335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BC5 #B9C57B
analogous
#7B94C5 #877BC5 #AC7BC5
triadic
#877BC5 #C5877B #7BC587
tetradic
#877BC5 #C57B94 #B9C57B #7BC5AC
square
#877BC5 #C57B94 #B9C57B #7BC5AC
split-complementary
#877BC5 #C5AC7B #94C57B
monochromatic
#493C89 #6050B2 #877BC5 #AEA6D8 #D4D0EA

Accessibility & contrast

On white

3.70
#877BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#877BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BC5
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BC5#FFFFFF#000000##000000
##877BC51.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6586C8
Deuteranopia (green-blind)
#6683C3
Tritanopia (blue-blind)
#788897
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #877bc5;
/* rgb */ color: rgb(135, 123, 197);
/* oklch */ color: oklch(62.4% 0.110 290.3);
Tailwind
colors: {
  custom: {
    50: '#aca1d7',
    500: '#877bc5',
    950: '#000000',
  },
}
SCSS
$custom: #877bc5;
$custom-light: #aca1d7;
$custom-dark: #000000;
JSON
{
  "hex": "#877bc5",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 197
  },
  "hsl": {
    "h": 249.73,
    "s": 38.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62412,
    "c": 0.11015,
    "h": 290.3
  },
  "luminance": 0.23348
}

Semantic roles & 50–950 ramp

primary
#877BC5
secondary
#D7DBC1
accent
#B2349D
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100F14
muted
#7F7E83

Preview Lab

Preview with #877BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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