#877BE8#877BE8

#877BE8 is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.3% C 0.159 H 286.1°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#877BE8
RGBrgb(135, 123, 232)
HSLhsl(247, 70%, 70%)
HSVhsv(247, 47%, 91%)
CMYKcmyk(41.8%, 47%, 0%, 9%)
CIE-LABlab(57.21, 30.94, -53.87)
CIE-LCHlch(57.21, 62.13, 299.87°)
OKLaboklab(64.35% 0.0439 -0.1526)
OKLCHoklch(64.35% 0.159 286.1)
XYZxyz(31.6360, 25.1418, 79.5143)
Luminance0.2514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BE8 #DCE87B
analogous
#7BA5E8 #877BE8 #BE7BE8
triadic
#877BE8 #E8877B #7BE887
tetradic
#877BE8 #E87BA5 #DCE87B #7BE8BE
square
#877BE8 #E87BA5 #DCE87B #7BE8BE
split-complementary
#877BE8 #E8BE7B #A5E87B
monochromatic
#3523C6 #5847DF #877BE8 #B6AFF1 #E6E3FA

Accessibility & contrast

On white

3.48
#877BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#877BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BE8
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BE8#FFFFFF#000000##000000
##877BE81.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#508CEC
Deuteranopia (green-blind)
#4E86E6
Tritanopia (blue-blind)
#6A91A6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #877be8;
/* rgb */ color: rgb(135, 123, 232);
/* oklch */ color: oklch(64.3% 0.159 286.1);
Tailwind
colors: {
  custom: {
    50: '#aea1f0',
    500: '#877be8',
    950: '#000000',
  },
}
SCSS
$custom: #877be8;
$custom-light: #aea1f0;
$custom-dark: #000000;
JSON
{
  "hex": "#877be8",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 232
  },
  "hsl": {
    "h": 246.606,
    "s": 70.323,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64347,
    "c": 0.15879,
    "h": 286.1
  },
  "luminance": 0.25143
}

Semantic roles & 50–950 ramp

primary
#877BE8
secondary
#ECEFD0
accent
#D213BD
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #877BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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