#877BF6#877BF6

#877BF6 is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.2% C 0.178 H 284.8°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#877BF6
RGBrgb(135, 123, 246)
HSLhsl(246, 87%, 72%)
HSVhsv(246, 50%, 96%)
CMYKcmyk(45.1%, 50%, 0%, 3.5%)
CIE-LABlab(58.01, 34.91, -60.38)
CIE-LCHlch(58.01, 69.74, 300.03°)
OKLaboklab(65.2% 0.0453 -0.1717)
OKLCHoklch(65.2% 0.178 284.8)
XYZxyz(33.7043, 25.9692, 90.4076)
Luminance0.2597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BF6 #EAF67B
analogous
#7BACF6 #877BF6 #C57BF6
triadic
#877BF6 #F6877B #7BF687
tetradic
#877BF6 #F67BAC #EAF67B #7BF6C5
square
#877BF6 #F67BAC #EAF67B #7BF6C5
split-complementary
#877BF6 #F6C57B #ACF67B
monochromatic
#2510E7 #5342F2 #877BF6 #BBB4FA #E5E2FD

Accessibility & contrast

On white

3.39
#877BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#877BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BF6
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BF6#FFFFFF#000000##000000
##877BF61.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#438FFA
Deuteranopia (green-blind)
#3F88F3
Tritanopia (blue-blind)
#6395AD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877bf6;
/* rgb */ color: rgb(135, 123, 246);
/* oklch */ color: oklch(65.2% 0.178 284.8);
Tailwind
colors: {
  custom: {
    50: '#b0a1fa',
    500: '#877bf6',
    950: '#000000',
  },
}
SCSS
$custom: #877bf6;
$custom-light: #b0a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#877bf6",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 246
  },
  "hsl": {
    "h": 245.854,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.65201,
    "c": 0.17755,
    "h": 284.8
  },
  "luminance": 0.25971
}

Semantic roles & 50–950 ramp

primary
#877BF6
secondary
#F2F5D6
accent
#E402CE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #877BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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