#877FCF#877FCF

#877FCF is a light, moderate blue. Relative luminance 0.248; OKLCH L 63.7% C 0.118 H 287.1°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#877FCF
RGBrgb(135, 127, 207)
HSLhsl(246, 45%, 65%)
HSVhsv(246, 39%, 81%)
CMYKcmyk(34.8%, 38.6%, 0%, 18.8%)
CIE-LABlab(56.91, 21.71, -40.32)
CIE-LCHlch(56.91, 45.79, 298.30°)
OKLaboklab(63.7% 0.0348 -0.113)
OKLCHoklch(63.7% 0.118 287.1)
XYZxyz(28.8405, 24.8338, 62.2933)
Luminance0.2483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FCF #C7CF7F
analogous
#7F9FCF #877FCF #AF7FCF
triadic
#877FCF #CF877F #7FCF87
tetradic
#877FCF #CF7F9F #C7CF7F #7FCFAF
square
#877FCF #CF7F9F #C7CF7F #7FCFAF
split-complementary
#877FCF #CFAF7F #9FCF7F
monochromatic
#433A9A #5D52BE #877FCF #B1ACE0 #DAD8F0

Accessibility & contrast

On white

3.52
#877FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#877FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FCF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FCF#FFFFFF#000000##000000
##877FCF1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#668BD2
Deuteranopia (green-blind)
#6586CD
Tritanopia (blue-blind)
#758E9D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #877fcf;
/* rgb */ color: rgb(135, 127, 207);
/* oklch */ color: oklch(63.7% 0.118 287.1);
Tailwind
colors: {
  custom: {
    50: '#aca4de',
    500: '#877fcf',
    950: '#000000',
  },
}
SCSS
$custom: #877fcf;
$custom-light: #aca4de;
$custom-dark: #000000;
JSON
{
  "hex": "#877fcf",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 207
  },
  "hsl": {
    "h": 246,
    "s": 45.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63701,
    "c": 0.11825,
    "h": 287.1
  },
  "luminance": 0.24835
}

Semantic roles & 50–950 ramp

primary
#877FCF
secondary
#E0E2C8
accent
#B92DAB
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #877FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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