#877BF9#877BF9

#877BF9 is a light, vivid blue. Relative luminance 0.262; OKLCH L 65.4% C 0.182 H 284.5°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#877BF9
RGBrgb(135, 123, 249)
HSLhsl(246, 91%, 73%)
HSVhsv(246, 51%, 98%)
CMYKcmyk(45.8%, 50.6%, 0%, 2.4%)
CIE-LABlab(58.18, 35.76, -61.76)
CIE-LCHlch(58.18, 71.36, 300.08°)
OKLaboklab(65.39% 0.0455 -0.1757)
OKLCHoklch(65.39% 0.182 284.5)
XYZxyz(34.1685, 26.1548, 92.8522)
Luminance0.2616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BF9 #EDF97B
analogous
#7BAEF9 #877BF9 #C67BF9
triadic
#877BF9 #F9877B #7BF987
tetradic
#877BF9 #F97BAE #EDF97B #7BF9C6
square
#877BF9 #F97BAE #EDF97B #7BF9C6
split-complementary
#877BF9 #F9C67B #AEF97B
monochromatic
#210BEF #5240F6 #877BF9 #BCB6FC #E4E2FE

Accessibility & contrast

On white

3.37
#877BF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#877BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BF9
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BF9#FFFFFF#000000##000000
##877BF91.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4090FD
Deuteranopia (green-blind)
#3B88F6
Tritanopia (blue-blind)
#6196AE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877bf9;
/* rgb */ color: rgb(135, 123, 249);
/* oklch */ color: oklch(65.4% 0.182 284.5);
Tailwind
colors: {
  custom: {
    50: '#b0a1fc',
    500: '#877bf9',
    950: '#000000',
  },
}
SCSS
$custom: #877bf9;
$custom-light: #b0a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#877bf9",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 245.714,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.65389,
    "c": 0.18151,
    "h": 284.5
  },
  "luminance": 0.26156
}

Semantic roles & 50–950 ramp

primary
#877BF9
secondary
#F3F6D5
accent
#E600D0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #877BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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