#877BFA#877BFA

#877BFA is a light, vivid blue. Relative luminance 0.262; OKLCH L 65.5% C 0.183 H 284.4°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#877BFA
RGBrgb(135, 123, 250)
HSLhsl(246, 93%, 73%)
HSVhsv(246, 51%, 98%)
CMYKcmyk(46%, 50.8%, 0%, 2%)
CIE-LABlab(58.24, 36.05, -62.21)
CIE-LCHlch(58.24, 71.90, 300.09°)
OKLaboklab(65.45% 0.0456 -0.1771)
OKLCHoklch(65.45% 0.183 284.4)
XYZxyz(34.3249, 26.2174, 93.6758)
Luminance0.2622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BFA #EEFA7B
analogous
#7BAEFA #877BFA #C67BFA
triadic
#877BFA #FA877B #7BFA87
tetradic
#877BFA #FA7BAE #EEFA7B #7BFAC6
square
#877BFA #FA7BAE #EEFA7B #7BFAC6
split-complementary
#877BFA #FAC67B #AEFA7B
monochromatic
#1F09F1 #5140F8 #877BFA #BDB6FC #E4E2FE

Accessibility & contrast

On white

3.36
#877BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#877BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BFA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BFA#FFFFFF#000000##000000
##877BFA1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F90FE
Deuteranopia (green-blind)
#3988F7
Tritanopia (blue-blind)
#6096AF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877bfa;
/* rgb */ color: rgb(135, 123, 250);
/* oklch */ color: oklch(65.5% 0.183 284.4);
Tailwind
colors: {
  custom: {
    50: '#b0a1fd',
    500: '#877bfa',
    950: '#000000',
  },
}
SCSS
$custom: #877bfa;
$custom-light: #b0a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#877bfa",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 245.669,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.65453,
    "c": 0.18283,
    "h": 284.4
  },
  "luminance": 0.26219
}

Semantic roles & 50–950 ramp

primary
#877BFA
secondary
#F3F6D5
accent
#E600D0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F18
muted
#807E86

Preview Lab

Preview with #877BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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