#877BF1#877BF1

#877BF1 is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.9% C 0.171 H 285.2°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#877BF1
RGBrgb(135, 123, 241)
HSLhsl(246, 81%, 71%)
HSVhsv(246, 49%, 95%)
CMYKcmyk(44%, 49%, 0%, 5.5%)
CIE-LABlab(57.72, 33.48, -58.07)
CIE-LCHlch(57.72, 67.03, 299.96°)
OKLaboklab(64.89% 0.0449 -0.1649)
OKLCHoklch(64.89% 0.171 285.2)
XYZxyz(32.9472, 25.6663, 86.4201)
Luminance0.2567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BF1 #E5F17B
analogous
#7BAAF1 #877BF1 #C27BF1
triadic
#877BF1 #F1877B #7BF187
tetradic
#877BF1 #F17BAA #E5F17B #7BF1C2
square
#877BF1 #F17BAA #E5F17B #7BF1C2
split-complementary
#877BF1 #F1C27B #AAF17B
monochromatic
#2B17DA #5544EB #877BF1 #B9B2F7 #E6E3FC

Accessibility & contrast

On white

3.42
#877BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#877BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BF1
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BF1#FFFFFF#000000##000000
##877BF11.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#488EF5
Deuteranopia (green-blind)
#4587EE
Tritanopia (blue-blind)
#6694AB
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877bf1;
/* rgb */ color: rgb(135, 123, 241);
/* oklch */ color: oklch(64.9% 0.171 285.2);
Tailwind
colors: {
  custom: {
    50: '#afa1f6',
    500: '#877bf1',
    950: '#000000',
  },
}
SCSS
$custom: #877bf1;
$custom-light: #afa1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#877bf1",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 241
  },
  "hsl": {
    "h": 246.102,
    "s": 80.822,
    "l": 71.373
  },
  "oklch": {
    "l": 0.64891,
    "c": 0.17089,
    "h": 285.2
  },
  "luminance": 0.25668
}

Semantic roles & 50–950 ramp

primary
#877BF1
secondary
#F0F3D5
accent
#DD08C8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #877BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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