#877FDC#877FDC

#877FDC is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.4% C 0.137 H 285.8°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#877FDC
RGBrgb(135, 127, 220)
HSLhsl(245, 57%, 68%)
HSVhsv(245, 42%, 86%)
CMYKcmyk(38.6%, 42.3%, 0%, 13.7%)
CIE-LABlab(57.56, 25.25, -46.62)
CIE-LCHlch(57.56, 53.02, 298.44°)
OKLaboklab(64.4% 0.0372 -0.1314)
OKLCHoklch(64.4% 0.137 285.8)
XYZxyz(30.4957, 25.4959, 71.0107)
Luminance0.2550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FDC #D4DC7F
analogous
#7FA5DC #877FDC #B57FDC
triadic
#877FDC #DC877F #7FDC87
tetradic
#877FDC #DC7FA5 #D4DC7F #7FDCB5
square
#877FDC #DC7FA5 #D4DC7F #7FDCB5
split-complementary
#877FDC #DCB57F #A5DC7F
monochromatic
#3B30B0 #5A4FCF #877FDC #B4AFE9 #E1DFF6

Accessibility & contrast

On white

3.44
#877FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#877FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FDC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FDC#FFFFFF#000000##000000
##877FDC1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8DE0
Deuteranopia (green-blind)
#5D88DA
Tritanopia (blue-blind)
#6F91A3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #877fdc;
/* rgb */ color: rgb(135, 127, 220);
/* oklch */ color: oklch(64.4% 0.137 285.8);
Tailwind
colors: {
  custom: {
    50: '#ada4e7',
    500: '#877fdc',
    950: '#000000',
  },
}
SCSS
$custom: #877fdc;
$custom-light: #ada4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#877fdc",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 220
  },
  "hsl": {
    "h": 245.161,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64399,
    "c": 0.13653,
    "h": 285.8
  },
  "luminance": 0.25497
}

Semantic roles & 50–950 ramp

primary
#877FDC
secondary
#E7EACD
accent
#C521B7
background
#FAFAFE
surface
#F5F4FC
border
#CFCED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #877FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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