#877BF5#877BF5

#877BF5 is a light, vivid blue. Relative luminance 0.259; OKLCH L 65.1% C 0.176 H 284.9°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#877BF5
RGBrgb(135, 123, 245)
HSLhsl(246, 86%, 72%)
HSVhsv(246, 50%, 96%)
CMYKcmyk(44.9%, 49.8%, 0%, 3.9%)
CIE-LABlab(57.95, 34.62, -59.92)
CIE-LCHlch(57.95, 69.20, 300.02°)
OKLaboklab(65.14% 0.0452 -0.1703)
OKLCHoklch(65.14% 0.176 284.9)
XYZxyz(33.5512, 25.9079, 89.6014)
Luminance0.2591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BF5 #E9F57B
analogous
#7BACF5 #877BF5 #C47BF5
triadic
#877BF5 #F5877B #7BF587
tetradic
#877BF5 #F57BAC #E9F57B #7BF5C4
square
#877BF5 #F57BAC #E9F57B #7BF5C4
split-complementary
#877BF5 #F5C47B #ACF57B
monochromatic
#2611E4 #5342F1 #877BF5 #BBB4F9 #E5E3FD

Accessibility & contrast

On white

3.40
#877BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#877BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BF5
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BF5#FFFFFF#000000##000000
##877BF51.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#448FF9
Deuteranopia (green-blind)
#4088F2
Tritanopia (blue-blind)
#6395AD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877bf5;
/* rgb */ color: rgb(135, 123, 245);
/* oklch */ color: oklch(65.1% 0.176 284.9);
Tailwind
colors: {
  custom: {
    50: '#b0a1f9',
    500: '#877bf5',
    950: '#000000',
  },
}
SCSS
$custom: #877bf5;
$custom-light: #b0a1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#877bf5",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 245
  },
  "hsl": {
    "h": 245.902,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.65139,
    "c": 0.17622,
    "h": 284.9
  },
  "luminance": 0.25909
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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