#877FD7#877FD7

#877FD7 is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.1% C 0.130 H 286.3°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#877FD7
RGBrgb(135, 127, 215)
HSLhsl(245, 52%, 67%)
HSVhsv(245, 41%, 84%)
CMYKcmyk(37.2%, 40.9%, 0%, 15.7%)
CIE-LABlab(57.30, 23.87, -44.21)
CIE-LCHlch(57.30, 50.25, 298.37°)
OKLaboklab(64.13% 0.0364 -0.1243)
OKLCHoklch(64.13% 0.13 286.3)
XYZxyz(29.8434, 25.2350, 67.5752)
Luminance0.2524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FD7 #CFD77F
analogous
#7FA3D7 #877FD7 #B37FD7
triadic
#877FD7 #D7877F #7FD787
tetradic
#877FD7 #D77FA3 #CFD77F #7FD7B3
square
#877FD7 #D77FA3 #CFD77F #7FD7B3
split-complementary
#877FD7 #D7B37F #A3D77F
monochromatic
#3F34A7 #5B50C8 #877FD7 #B3AEE6 #DEDCF4

Accessibility & contrast

On white

3.47
#877FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#877FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FD7
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FD7#FFFFFF#000000##000000
##877FD71.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#628CDA
Deuteranopia (green-blind)
#6087D5
Tritanopia (blue-blind)
#7190A1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #877fd7;
/* rgb */ color: rgb(135, 127, 215);
/* oklch */ color: oklch(64.1% 0.130 286.3);
Tailwind
colors: {
  custom: {
    50: '#ada4e4',
    500: '#877fd7',
    950: '#000000',
  },
}
SCSS
$custom: #877fd7;
$custom-light: #ada4e4;
$custom-dark: #000000;
JSON
{
  "hex": "#877fd7",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 215
  },
  "hsl": {
    "h": 245.455,
    "s": 52.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.64126,
    "c": 0.12953,
    "h": 286.3
  },
  "luminance": 0.25236
}

Semantic roles & 50–950 ramp

primary
#877FD7
secondary
#E4E7CB
accent
#C026B2
background
#FAFAFE
surface
#F5F4FC
border
#CFCED5
text
#100F15
muted
#7F7F84

Preview Lab

Preview with #877FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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