#877BF7#877BF7

#877BF7 is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.3% C 0.179 H 284.7°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#877BF7
RGBrgb(135, 123, 247)
HSLhsl(246, 89%, 73%)
HSVhsv(246, 50%, 97%)
CMYKcmyk(45.3%, 50.2%, 0%, 3.1%)
CIE-LABlab(58.07, 35.19, -60.84)
CIE-LCHlch(58.07, 70.28, 300.05°)
OKLaboklab(65.26% 0.0453 -0.173)
OKLCHoklch(65.26% 0.179 284.7)
XYZxyz(33.8582, 26.0307, 91.2181)
Luminance0.2603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BF7 #EBF77B
analogous
#7BADF7 #877BF7 #C57BF7
triadic
#877BF7 #F7877B #7BF787
tetradic
#877BF7 #F77BAD #EBF77B #7BF7C5
square
#877BF7 #F77BAD #EBF77B #7BF7C5
split-complementary
#877BF7 #F7C57B #ADF77B
monochromatic
#230EE9 #5341F4 #877BF7 #BBB5FA #E5E2FD

Accessibility & contrast

On white

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

On black

6.21
#877BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BF7
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BF7#FFFFFF#000000##000000
##877BF71.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#428FFB
Deuteranopia (green-blind)
#3E88F4
Tritanopia (blue-blind)
#6295AE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877bf7;
/* rgb */ color: rgb(135, 123, 247);
/* oklch */ color: oklch(65.3% 0.179 284.7);
Tailwind
colors: {
  custom: {
    50: '#b0a1fa',
    500: '#877bf7',
    950: '#000000',
  },
}
SCSS
$custom: #877bf7;
$custom-light: #b0a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#877bf7",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 245.806,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65263,
    "c": 0.17887,
    "h": 284.7
  },
  "luminance": 0.26032
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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