#877BD6#877BD6

#877BD6 is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.3% C 0.134 H 288.0°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#877BD6
RGBrgb(135, 123, 214)
HSLhsl(248, 53%, 66%)
HSVhsv(248, 43%, 84%)
CMYKcmyk(36.9%, 42.5%, 0%, 16.1%)
CIE-LABlab(56.26, 25.95, -45.30)
CIE-LCHlch(56.26, 52.21, 299.81°)
OKLaboklab(63.32% 0.0414 -0.1275)
OKLCHoklch(63.32% 0.134 288)
XYZxyz(29.2089, 24.1710, 66.7318)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BD6 #CAD67B
analogous
#7B9CD6 #877BD6 #B47BD6
triadic
#877BD6 #D6877B #7BD687
tetradic
#877BD6 #D67B9C #CAD67B #7BD6B4
square
#877BD6 #D67B9C #CAD67B #7BD6B4
split-complementary
#877BD6 #D6B47B #9CD67B
monochromatic
#4233A4 #5D4CC7 #877BD6 #B1AAE5 #DCD8F3

Accessibility & contrast

On white

3.60
#877BD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#877BD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BD6
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BD6#FFFFFF#000000##000000
##877BD61.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C89D9
Deuteranopia (green-blind)
#5C85D4
Tritanopia (blue-blind)
#728D9E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #877bd6;
/* rgb */ color: rgb(135, 123, 214);
/* oklch */ color: oklch(63.3% 0.134 288.0);
Tailwind
colors: {
  custom: {
    50: '#ada1e3',
    500: '#877bd6',
    950: '#000000',
  },
}
SCSS
$custom: #877bd6;
$custom-light: #ada1e3;
$custom-dark: #000000;
JSON
{
  "hex": "#877bd6",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 214
  },
  "hsl": {
    "h": 247.912,
    "s": 52.601,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63315,
    "c": 0.13408,
    "h": 288
  },
  "luminance": 0.24172
}

Semantic roles & 50–950 ramp

primary
#877BD6
secondary
#E1E5C7
accent
#C025AC
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100F15
muted
#7F7E83

Preview Lab

Preview with #877BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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