#877FDD#877FDD

#877FDD is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.5% C 0.138 H 285.7°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#877FDD
RGBrgb(135, 127, 221)
HSLhsl(245, 58%, 68%)
HSVhsv(245, 43%, 87%)
CMYKcmyk(38.9%, 42.5%, 0%, 13.3%)
CIE-LABlab(57.61, 25.52, -47.10)
CIE-LCHlch(57.61, 53.57, 298.45°)
OKLaboklab(64.46% 0.0374 -0.1328)
OKLCHoklch(64.46% 0.138 285.7)
XYZxyz(30.6285, 25.5490, 71.7103)
Luminance0.2555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FDD #D5DD7F
analogous
#7FA6DD #877FDD #B67FDD
triadic
#877FDD #DD877F #7FDD87
tetradic
#877FDD #DD7FA6 #D5DD7F #7FDDB6
square
#877FDD #DD7FA6 #D5DD7F #7FDDB6
split-complementary
#877FDD #DDB67F #A6DD7F
monochromatic
#3A2FB2 #5A4FD0 #877FDD #B4AFEA #E2E0F7

Accessibility & contrast

On white

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

On black

6.11
#877FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FDD
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FDD#FFFFFF#000000##000000
##877FDD1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #877fdd;
/* rgb */ color: rgb(135, 127, 221);
/* oklch */ color: oklch(64.5% 0.138 285.7);
Tailwind
colors: {
  custom: {
    50: '#ada4e8',
    500: '#877fdd',
    950: '#000000',
  },
}
SCSS
$custom: #877fdd;
$custom-light: #ada4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#877fdd",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 221
  },
  "hsl": {
    "h": 245.106,
    "s": 58.025,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64455,
    "c": 0.13792,
    "h": 285.7
  },
  "luminance": 0.2555
}

Semantic roles & 50–950 ramp

primary
#877FDD
secondary
#E8EACE
accent
#C620B8
background
#FAFAFE
surface
#F5F4FC
border
#CFCED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #877FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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