#877BF0#877BF0

#877BF0 is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.8% C 0.170 H 285.3°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#877BF0
RGBrgb(135, 123, 240)
HSLhsl(246, 80%, 71%)
HSVhsv(246, 49%, 94%)
CMYKcmyk(43.8%, 48.7%, 0%, 5.9%)
CIE-LABlab(57.66, 33.20, -57.61)
CIE-LCHlch(57.66, 66.49, 299.95°)
OKLaboklab(64.83% 0.0448 -0.1635)
OKLCHoklch(64.83% 0.17 285.3)
XYZxyz(32.7983, 25.6067, 85.6356)
Luminance0.2561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BF0 #E4F07B
analogous
#7BA9F0 #877BF0 #C17BF0
triadic
#877BF0 #F0877B #7BF087
tetradic
#877BF0 #F07BA9 #E4F07B #7BF0C1
square
#877BF0 #F07BA9 #E4F07B #7BF0C1
split-complementary
#877BF0 #F0C17B #A9F07B
monochromatic
#2C19D8 #5544EA #877BF0 #B9B2F6 #E6E4FC

Accessibility & contrast

On white

3.43
#877BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#877BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BF0
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BF0#FFFFFF#000000##000000
##877BF01.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#498EF4
Deuteranopia (green-blind)
#4687ED
Tritanopia (blue-blind)
#6694AA
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #877bf0;
/* rgb */ color: rgb(135, 123, 240);
/* oklch */ color: oklch(64.8% 0.170 285.3);
Tailwind
colors: {
  custom: {
    50: '#afa1f5',
    500: '#877bf0',
    950: '#000000',
  },
}
SCSS
$custom: #877bf0;
$custom-light: #afa1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#877bf0",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 240
  },
  "hsl": {
    "h": 246.154,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.6483,
    "c": 0.16955,
    "h": 285.3
  },
  "luminance": 0.25608
}

Semantic roles & 50–950 ramp

primary
#877BF0
secondary
#F0F3D4
accent
#DC0AC6
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110F17
muted
#807E85

Preview Lab

Preview with #877BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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