#877BF2#877BF2

#877BF2 is a light, vivid blue. Relative luminance 0.257; OKLCH L 65.0% C 0.172 H 285.1°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#877BF2
RGBrgb(135, 123, 242)
HSLhsl(246, 82%, 72%)
HSVhsv(246, 49%, 95%)
CMYKcmyk(44.2%, 49.2%, 0%, 5.1%)
CIE-LABlab(57.78, 33.76, -58.54)
CIE-LCHlch(57.78, 67.58, 299.98°)
OKLaboklab(64.95% 0.0449 -0.1663)
OKLCHoklch(64.95% 0.172 285.1)
XYZxyz(33.0970, 25.7262, 87.2089)
Luminance0.2573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BF2 #E6F27B
analogous
#7BABF2 #877BF2 #C27BF2
triadic
#877BF2 #F2877B #7BF287
tetradic
#877BF2 #F27BAB #E6F27B #7BF2C2
square
#877BF2 #F27BAB #E6F27B #7BF2C2
split-complementary
#877BF2 #F2C27B #ABF27B
monochromatic
#2A16DD #5443ED #877BF2 #BAB3F7 #E6E3FC

Accessibility & contrast

On white

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

On black

6.15
#877BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BF2
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BF2#FFFFFF#000000##000000
##877BF21.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#478EF6
Deuteranopia (green-blind)
#4487EF
Tritanopia (blue-blind)
#6594AB
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877bf2;
/* rgb */ color: rgb(135, 123, 242);
/* oklch */ color: oklch(65.0% 0.172 285.1);
Tailwind
colors: {
  custom: {
    50: '#afa1f7',
    500: '#877bf2',
    950: '#000000',
  },
}
SCSS
$custom: #877bf2;
$custom-light: #afa1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#877bf2",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 246.05,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.64953,
    "c": 0.17222,
    "h": 285.1
  },
  "luminance": 0.25728
}

Semantic roles & 50–950 ramp

primary
#877BF2
secondary
#F1F4D5
accent
#DE07C9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #877BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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