#877BE2#877BE2

#877BE2 is a light, vivid blue. Relative luminance 0.248; OKLCH L 64.0% C 0.151 H 286.7°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#877BE2
RGBrgb(135, 123, 226)
HSLhsl(247, 64%, 68%)
HSVhsv(247, 46%, 89%)
CMYKcmyk(40.3%, 45.6%, 0%, 11.4%)
CIE-LABlab(56.89, 29.26, -51.04)
CIE-LCHlch(56.89, 58.83, 299.82°)
OKLaboklab(64% 0.0432 -0.1443)
OKLCHoklch(64% 0.151 286.7)
XYZxyz(30.7982, 24.8067, 75.1022)
Luminance0.2481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BE2 #D6E27B
analogous
#7BA2E2 #877BE2 #BA7BE2
triadic
#877BE2 #E2877B #7BE287
tetradic
#877BE2 #E27BA2 #D6E27B #7BE2BA
square
#877BE2 #E27BA2 #D6E27B #7BE2BA
split-complementary
#877BE2 #E2BA7B #A2E27B
monochromatic
#3A29BA #5949D7 #877BE2 #B5ADED #E2DFF8

Accessibility & contrast

On white

3.52
#877BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#877BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BE2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BE2#FFFFFF#000000##000000
##877BE21.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#548BE6
Deuteranopia (green-blind)
#5386E0
Tritanopia (blue-blind)
#6D90A4
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #877be2;
/* rgb */ color: rgb(135, 123, 226);
/* oklch */ color: oklch(64.0% 0.151 286.7);
Tailwind
colors: {
  custom: {
    50: '#aea1eb',
    500: '#877be2',
    950: '#000000',
  },
}
SCSS
$custom: #877be2;
$custom-light: #aea1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#877be2",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 226
  },
  "hsl": {
    "h": 246.99,
    "s": 63.975,
    "l": 68.431
  },
  "oklch": {
    "l": 0.63995,
    "c": 0.15062,
    "h": 286.7
  },
  "luminance": 0.24808
}

Semantic roles & 50–950 ramp

primary
#877BE2
secondary
#E8ECCD
accent
#CC1AB7
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #877BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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