#877BF8#877BF8

#877BF8 is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.3% C 0.180 H 284.6°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#877BF8
RGBrgb(135, 123, 248)
HSLhsl(246, 90%, 73%)
HSVhsv(246, 50%, 97%)
CMYKcmyk(45.6%, 50.4%, 0%, 2.7%)
CIE-LABlab(58.12, 35.48, -61.30)
CIE-LCHlch(58.12, 70.82, 300.06°)
OKLaboklab(65.33% 0.0454 -0.1744)
OKLCHoklch(65.33% 0.18 284.6)
XYZxyz(34.0129, 26.0926, 92.0329)
Luminance0.2609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BF8 #ECF87B
analogous
#7BADF8 #877BF8 #C57BF8
triadic
#877BF8 #F8877B #7BF887
tetradic
#877BF8 #F87BAD #ECF87B #7BF8C5
square
#877BF8 #F87BAD #ECF87B #7BF8C5
split-complementary
#877BF8 #F8C57B #ADF87B
monochromatic
#220DEC #5241F5 #877BF8 #BCB5FB #E5E2FD

Accessibility & contrast

On white

3.38
#877BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#877BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BF8
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BF8#FFFFFF#000000##000000
##877BF81.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#418FFC
Deuteranopia (green-blind)
#3C88F5
Tritanopia (blue-blind)
#6296AE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877bf8;
/* rgb */ color: rgb(135, 123, 248);
/* oklch */ color: oklch(65.3% 0.180 284.6);
Tailwind
colors: {
  custom: {
    50: '#b0a1fb',
    500: '#877bf8',
    950: '#000000',
  },
}
SCSS
$custom: #877bf8;
$custom-light: #b0a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#877bf8",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 245.76,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.65326,
    "c": 0.18019,
    "h": 284.6
  },
  "luminance": 0.26094
}

Semantic roles & 50–950 ramp

primary
#877BF8
secondary
#F2F6D5
accent
#E600CF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #877BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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