#877BEA#877BEA

#877BEA is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.5% C 0.161 H 285.9°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#877BEA
RGBrgb(135, 123, 234)
HSLhsl(246, 73%, 70%)
HSVhsv(246, 47%, 92%)
CMYKcmyk(42.3%, 47.4%, 0%, 8.2%)
CIE-LABlab(57.32, 31.50, -54.81)
CIE-LCHlch(57.32, 63.22, 299.88°)
OKLaboklab(64.47% 0.0442 -0.1553)
OKLCHoklch(64.47% 0.161 285.9)
XYZxyz(31.9217, 25.2561, 81.0189)
Luminance0.2526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BEA #DEEA7B
analogous
#7BA7EA #877BEA #BE7BEA
triadic
#877BEA #EA877B #7BEA87
tetradic
#877BEA #EA7BA7 #DEEA7B #7BEABE
square
#877BEA #EA7BA7 #DEEA7B #7BEABE
split-complementary
#877BEA #EABE7B #A7EA7B
monochromatic
#3320CA #5746E2 #877BEA #B7B0F2 #E7E5FB

Accessibility & contrast

On white

3.47
#877BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#877BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BEA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BEA#FFFFFF#000000##000000
##877BEA1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEE
Deuteranopia (green-blind)
#4C86E7
Tritanopia (blue-blind)
#6992A7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #877bea;
/* rgb */ color: rgb(135, 123, 234);
/* oklch */ color: oklch(64.5% 0.161 285.9);
Tailwind
colors: {
  custom: {
    50: '#afa1f1',
    500: '#877bea',
    950: '#000000',
  },
}
SCSS
$custom: #877bea;
$custom-light: #afa1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#877bea",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 234
  },
  "hsl": {
    "h": 246.486,
    "s": 72.549,
    "l": 70
  },
  "oklch": {
    "l": 0.64467,
    "c": 0.16149,
    "h": 285.9
  },
  "luminance": 0.25257
}

Semantic roles & 50–950 ramp

primary
#877BEA
secondary
#EDF0D1
accent
#D511BF
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F17
muted
#807E85

Preview Lab

Preview with #877BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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