#877BF3#877BF3

#877BF3 is a light, vivid blue. Relative luminance 0.258; OKLCH L 65.0% C 0.174 H 285.0°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#877BF3
RGBrgb(135, 123, 243)
HSLhsl(246, 83%, 72%)
HSVhsv(246, 49%, 95%)
CMYKcmyk(44.4%, 49.4%, 0%, 4.7%)
CIE-LABlab(57.83, 34.05, -59.00)
CIE-LCHlch(57.83, 68.12, 299.99°)
OKLaboklab(65.01% 0.045 -0.1676)
OKLCHoklch(65.01% 0.174 285)
XYZxyz(33.2476, 25.7865, 88.0021)
Luminance0.2579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BF3 #E7F37B
analogous
#7BABF3 #877BF3 #C37BF3
triadic
#877BF3 #F3877B #7BF387
tetradic
#877BF3 #F37BAB #E7F37B #7BF3C3
square
#877BF3 #F37BAB #E7F37B #7BF3C3
split-complementary
#877BF3 #F3C37B #ABF37B
monochromatic
#2914DF #5443EE #877BF3 #BAB3F8 #E6E3FC

Accessibility & contrast

On white

3.41
#877BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#877BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BF3
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BF3#FFFFFF#000000##000000
##877BF31.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#468EF7
Deuteranopia (green-blind)
#4287F0
Tritanopia (blue-blind)
#6494AC
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877bf3;
/* rgb */ color: rgb(135, 123, 243);
/* oklch */ color: oklch(65.0% 0.174 285.0);
Tailwind
colors: {
  custom: {
    50: '#b0a1f8',
    500: '#877bf3',
    950: '#000000',
  },
}
SCSS
$custom: #877bf3;
$custom-light: #b0a1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#877bf3",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 243
  },
  "hsl": {
    "h": 246,
    "s": 83.333,
    "l": 71.765
  },
  "oklch": {
    "l": 0.65014,
    "c": 0.17356,
    "h": 285
  },
  "luminance": 0.25788
}

Semantic roles & 50–950 ramp

primary
#877BF3
secondary
#F1F4D6
accent
#E006CA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #877BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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