#877FDA#877FDA

#877FDA is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.3% C 0.134 H 286.0°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#877FDA
RGBrgb(135, 127, 218)
HSLhsl(245, 55%, 68%)
HSVhsv(245, 42%, 85%)
CMYKcmyk(38.1%, 41.7%, 0%, 14.5%)
CIE-LABlab(57.45, 24.70, -45.66)
CIE-LCHlch(57.45, 51.91, 298.41°)
OKLaboklab(64.29% 0.0369 -0.1285)
OKLCHoklch(64.29% 0.134 286)
XYZxyz(30.2324, 25.3906, 69.6240)
Luminance0.2539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FDA #D2DA7F
analogous
#7FA4DA #877FDA #B57FDA
triadic
#877FDA #DA877F #7FDA87
tetradic
#877FDA #DA7FA4 #D2DA7F #7FDAB5
square
#877FDA #DA7FA4 #D2DA7F #7FDAB5
split-complementary
#877FDA #DAB57F #A4DA7F
monochromatic
#3D32AD #5A50CC #877FDA #B4AEE8 #E0DEF5

Accessibility & contrast

On white

3.45
#877FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#877FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FDA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FDA#FFFFFF#000000##000000
##877FDA1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#608CDD
Deuteranopia (green-blind)
#5E87D8
Tritanopia (blue-blind)
#7091A2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #877fda;
/* rgb */ color: rgb(135, 127, 218);
/* oklch */ color: oklch(64.3% 0.134 286.0);
Tailwind
colors: {
  custom: {
    50: '#ada4e6',
    500: '#877fda',
    950: '#000000',
  },
}
SCSS
$custom: #877fda;
$custom-light: #ada4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#877fda",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 245.275,
    "s": 55.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64289,
    "c": 0.13374,
    "h": 286
  },
  "luminance": 0.25392
}

Semantic roles & 50–950 ramp

primary
#877FDA
secondary
#E6E9CC
accent
#C323B5
background
#FAFAFE
surface
#F5F4FC
border
#CFCED5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #877FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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