#877BD3#877BD3

#877BD3 is a light, vivid blue. Relative luminance 0.240; OKLCH L 63.2% C 0.130 H 288.4°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#877BD3
RGBrgb(135, 123, 211)
HSLhsl(248, 50%, 65%)
HSVhsv(248, 42%, 83%)
CMYKcmyk(36%, 41.7%, 0%, 17.3%)
CIE-LABlab(56.11, 25.14, -43.85)
CIE-LCHlch(56.11, 50.54, 299.83°)
OKLaboklab(63.15% 0.0409 -0.1233)
OKLCHoklch(63.15% 0.13 288.4)
XYZxyz(28.8293, 24.0192, 64.7326)
Luminance0.2402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BD3 #C7D37B
analogous
#7B9BD3 #877BD3 #B37BD3
triadic
#877BD3 #D3877B #7BD387
tetradic
#877BD3 #D37B9B #C7D37B #7BD3B3
square
#877BD3 #D37B9B #C7D37B #7BD3B3
split-complementary
#877BD3 #D3B37B #9BD37B
monochromatic
#43359F #5D4DC4 #877BD3 #B1A9E2 #DAD7F2

Accessibility & contrast

On white

3.62
#877BD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#877BD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BD3
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BD3#FFFFFF#000000##000000
##877BD31.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E88D6
Deuteranopia (green-blind)
#5E84D1
Tritanopia (blue-blind)
#738C9D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #877bd3;
/* rgb */ color: rgb(135, 123, 211);
/* oklch */ color: oklch(63.2% 0.130 288.4);
Tailwind
colors: {
  custom: {
    50: '#ada1e1',
    500: '#877bd3',
    950: '#000000',
  },
}
SCSS
$custom: #877bd3;
$custom-light: #ada1e1;
$custom-dark: #000000;
JSON
{
  "hex": "#877bd3",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 211
  },
  "hsl": {
    "h": 248.182,
    "s": 50,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63151,
    "c": 0.12989,
    "h": 288.4
  },
  "luminance": 0.2402
}

Semantic roles & 50–950 ramp

primary
#877BD3
secondary
#E0E4C6
accent
#BD28A9
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100F15
muted
#7F7E83

Preview Lab

Preview with #877BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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