#877BCA#877BCA

#877BCA is a light, moderate blue. Relative luminance 0.236; OKLCH L 62.7% C 0.117 H 289.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#877BCA
RGBrgb(135, 123, 202)
HSLhsl(249, 43%, 64%)
HSVhsv(249, 39%, 79%)
CMYKcmyk(33.2%, 39.1%, 0%, 20.8%)
CIE-LABlab(55.67, 22.73, -39.45)
CIE-LCHlch(55.67, 45.53, 299.95°)
OKLaboklab(62.67% 0.0392 -0.1105)
OKLCHoklch(62.67% 0.117 289.5)
XYZxyz(27.7325, 23.5804, 58.9560)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BCA #BECA7B
analogous
#7B96CA #877BCA #AE7BCA
triadic
#877BCA #CA877B #7BCA87
tetradic
#877BCA #CA7B96 #BECA7B #7BCAAE
square
#877BCA #CA7B96 #BECA7B #7BCAAE
split-complementary
#877BCA #CAAE7B #96CA7B
monochromatic
#473A91 #5F4FB8 #877BCA #AFA7DC #D6D2ED

Accessibility & contrast

On white

3.67
#877BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#877BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BCA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BCA#FFFFFF#000000##000000
##877BCA1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6387CD
Deuteranopia (green-blind)
#6384C8
Tritanopia (blue-blind)
#778A99
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #877bca;
/* rgb */ color: rgb(135, 123, 202);
/* oklch */ color: oklch(62.7% 0.117 289.5);
Tailwind
colors: {
  custom: {
    50: '#aca1da',
    500: '#877bca',
    950: '#000000',
  },
}
SCSS
$custom: #877bca;
$custom-light: #aca1da;
$custom-dark: #000000;
JSON
{
  "hex": "#877bca",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 202
  },
  "hsl": {
    "h": 249.114,
    "s": 42.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62671,
    "c": 0.11724,
    "h": 289.5
  },
  "luminance": 0.23581
}

Semantic roles & 50–950 ramp

primary
#877BCA
secondary
#DADEC2
accent
#B630A1
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100F15
muted
#7F7E83

Preview Lab

Preview with #877BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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