#877FCB#877FCB

#877FCB is a light, moderate blue. Relative luminance 0.246; OKLCH L 63.5% C 0.113 H 287.6°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#877FCB
RGBrgb(135, 127, 203)
HSLhsl(246, 42%, 65%)
HSVhsv(246, 37%, 80%)
CMYKcmyk(33.5%, 37.4%, 0%, 20.4%)
CIE-LABlab(56.72, 20.64, -38.36)
CIE-LCHlch(56.72, 43.56, 298.29°)
OKLaboklab(63.49% 0.034 -0.1073)
OKLCHoklch(63.49% 0.113 287.6)
XYZxyz(28.3577, 24.6407, 59.7504)
Luminance0.2464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FCB #C3CB7F
analogous
#7F9DCB #877FCB #AD7FCB
triadic
#877FCB #CB877F #7FCB87
tetradic
#877FCB #CB7F9D #C3CB7F #7FCBAD
square
#877FCB #CB7F9D #C3CB7F #7FCBAD
split-complementary
#877FCB #CBAD7F #9DCB7F
monochromatic
#453C94 #5E53B9 #877FCB #B0ABDD #D9D6EE

Accessibility & contrast

On white

3.54
#877FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#877FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FCB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FCB#FFFFFF#000000##000000
##877FCB1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACE
Deuteranopia (green-blind)
#6786C9
Tritanopia (blue-blind)
#768D9B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #877fcb;
/* rgb */ color: rgb(135, 127, 203);
/* oklch */ color: oklch(63.5% 0.113 287.6);
Tailwind
colors: {
  custom: {
    50: '#aca4db',
    500: '#877fcb',
    950: '#000000',
  },
}
SCSS
$custom: #877fcb;
$custom-light: #aca4db;
$custom-dark: #000000;
JSON
{
  "hex": "#877fcb",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 203
  },
  "hsl": {
    "h": 246.316,
    "s": 42.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63494,
    "c": 0.11256,
    "h": 287.6
  },
  "luminance": 0.24641
}

Semantic roles & 50–950 ramp

primary
#877FCB
secondary
#DDE0C6
accent
#B530A7
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #877FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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