#877CCF#877CCF

#877CCF is a light, vivid blue. Relative luminance 0.241; OKLCH L 63.1% C 0.123 H 288.4°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#877CCF
RGBrgb(135, 124, 207)
HSLhsl(248, 46%, 65%)
HSVhsv(248, 40%, 81%)
CMYKcmyk(34.8%, 40.1%, 0%, 18.8%)
CIE-LABlab(56.16, 23.47, -41.51)
CIE-LCHlch(56.16, 47.69, 299.49°)
OKLaboklab(63.13% 0.0388 -0.1165)
OKLCHoklch(63.13% 0.123 288.4)
XYZxyz(28.4588, 24.0704, 62.1660)
Luminance0.2407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CCF #C4CF7C
analogous
#7C9ACF #877CCF #B17CCF
triadic
#877CCF #CF877C #7CCF87
tetradic
#877CCF #CF7C9A #C4CF7C #7CCFB1
square
#877CCF #CF7C9A #C4CF7C #7CCFB1
split-complementary
#877CCF #CFB17C #9ACF7C
monochromatic
#453899 #5E4FBF #877CCF #B0A9DF #D9D6F0

Accessibility & contrast

On white

3.61
#877CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#877CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CCF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CCF#FFFFFF#000000##000000
##877CCF1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6288D2
Deuteranopia (green-blind)
#6185CD
Tritanopia (blue-blind)
#758C9C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #877ccf;
/* rgb */ color: rgb(135, 124, 207);
/* oklch */ color: oklch(63.1% 0.123 288.4);
Tailwind
colors: {
  custom: {
    50: '#aca2de',
    500: '#877ccf',
    950: '#000000',
  },
}
SCSS
$custom: #877ccf;
$custom-light: #aca2de;
$custom-dark: #000000;
JSON
{
  "hex": "#877ccf",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 207
  },
  "hsl": {
    "h": 247.952,
    "s": 46.369,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63125,
    "c": 0.12278,
    "h": 288.4
  },
  "luminance": 0.24071
}

Semantic roles & 50–950 ramp

primary
#877CCF
secondary
#DEE2C5
accent
#BA2CA7
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100F15
muted
#7F7E83

Preview Lab

Preview with #877CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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