#877FD9#877FD9

#877FD9 is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.2% C 0.132 H 286.1°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#877FD9
RGBrgb(135, 127, 217)
HSLhsl(245, 54%, 67%)
HSVhsv(245, 41%, 85%)
CMYKcmyk(37.8%, 41.5%, 0%, 14.9%)
CIE-LABlab(57.40, 24.42, -45.18)
CIE-LCHlch(57.40, 51.36, 298.40°)
OKLaboklab(64.24% 0.0367 -0.1272)
OKLCHoklch(64.24% 0.132 286.1)
XYZxyz(30.1020, 25.3384, 68.9370)
Luminance0.2534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FD9 #D1D97F
analogous
#7FA4D9 #877FD9 #B47FD9
triadic
#877FD9 #D9877F #7FD987
tetradic
#877FD9 #D97FA4 #D1D97F #7FD9B4
square
#877FD9 #D97FA4 #D1D97F #7FD9B4
split-complementary
#877FD9 #D9B47F #A4D97F
monochromatic
#3D33AB #5B50CB #877FD9 #B3AEE7 #DFDDF5

Accessibility & contrast

On white

3.46
#877FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#877FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FD9
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FD9#FFFFFF#000000##000000
##877FD91.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#608CDC
Deuteranopia (green-blind)
#5F87D7
Tritanopia (blue-blind)
#7190A1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #877fd9;
/* rgb */ color: rgb(135, 127, 217);
/* oklch */ color: oklch(64.2% 0.132 286.1);
Tailwind
colors: {
  custom: {
    50: '#ada4e5',
    500: '#877fd9',
    950: '#000000',
  },
}
SCSS
$custom: #877fd9;
$custom-light: #ada4e5;
$custom-dark: #000000;
JSON
{
  "hex": "#877fd9",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 217
  },
  "hsl": {
    "h": 245.333,
    "s": 54.217,
    "l": 67.451
  },
  "oklch": {
    "l": 0.64235,
    "c": 0.13234,
    "h": 286.1
  },
  "luminance": 0.25339
}

Semantic roles & 50–950 ramp

primary
#877FD9
secondary
#E5E8CC
accent
#C224B4
background
#FAFAFE
surface
#F5F4FC
border
#CFCED5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #877FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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