#877DDF#877DDF

#877DDF is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.2% C 0.144 H 286.3°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#877DDF
RGBrgb(135, 125, 223)
HSLhsl(246, 60%, 68%)
HSVhsv(246, 44%, 87%)
CMYKcmyk(39.5%, 43.9%, 0%, 12.5%)
CIE-LABlab(57.22, 27.25, -48.84)
CIE-LCHlch(57.22, 55.93, 299.16°)
OKLaboklab(64.19% 0.0403 -0.1378)
OKLCHoklch(64.19% 0.144 286.3)
XYZxyz(30.6408, 25.1448, 73.0367)
Luminance0.2515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DDF #D5DF7D
analogous
#7DA4DF #877DDF #B87DDF
triadic
#877DDF #DF877D #7DDF87
tetradic
#877DDF #DF7DA4 #D5DF7D #7DDFB8
square
#877DDF #DF7DA4 #D5DF7D #7DDFB8
split-complementary
#877DDF #DFB87D #A4DF7D
monochromatic
#3A2DB5 #5A4CD3 #877DDF #B4AEEB #E2DFF7

Accessibility & contrast

On white

3.48
#877DDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#877DDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DDF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DDF#FFFFFF#000000##000000
##877DDF1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8CE3
Deuteranopia (green-blind)
#5887DD
Tritanopia (blue-blind)
#6E90A3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #877ddf;
/* rgb */ color: rgb(135, 125, 223);
/* oklch */ color: oklch(64.2% 0.144 286.3);
Tailwind
colors: {
  custom: {
    50: '#aea2e9',
    500: '#877ddf',
    950: '#000000',
  },
}
SCSS
$custom: #877ddf;
$custom-light: #aea2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#877ddf",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 223
  },
  "hsl": {
    "h": 246.122,
    "s": 60.494,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64193,
    "c": 0.14361,
    "h": 286.3
  },
  "luminance": 0.25146
}

Semantic roles & 50–950 ramp

primary
#877DDF
secondary
#E8EBCD
accent
#C81DB7
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F16
muted
#807F84

Preview Lab

Preview with #877DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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