#877BEB#877BEB

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

Color values

HEX#877BEB
RGBrgb(135, 123, 235)
HSLhsl(246, 74%, 70%)
HSVhsv(246, 48%, 92%)
CMYKcmyk(42.6%, 47.7%, 0%, 7.8%)
CIE-LABlab(57.38, 31.78, -55.28)
CIE-LCHlch(57.38, 63.77, 299.89°)
OKLaboklab(64.53% 0.0443 -0.1567)
OKLCHoklch(64.53% 0.163 285.8)
XYZxyz(32.0657, 25.3137, 81.7777)
Luminance0.2531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BEB #DFEB7B
analogous
#7BA7EB #877BEB #BF7BEB
triadic
#877BEB #EB877B #7BEB87
tetradic
#877BEB #EB7BA7 #DFEB7B #7BEBBF
square
#877BEB #EB7BA7 #DFEB7B #7BEBBF
split-complementary
#877BEB #EBBF7B #A7EB7B
monochromatic
#321FCD #5746E3 #877BEB #B7B0F3 #E7E4FB

Accessibility & contrast

On white

3.46
#877BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#877BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BEB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BEB#FFFFFF#000000##000000
##877BEB1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8DEF
Deuteranopia (green-blind)
#4B87E8
Tritanopia (blue-blind)
#6992A8
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #877beb;
/* rgb */ color: rgb(135, 123, 235);
/* oklch */ color: oklch(64.5% 0.163 285.8);
Tailwind
colors: {
  custom: {
    50: '#afa1f2',
    500: '#877beb',
    950: '#000000',
  },
}
SCSS
$custom: #877beb;
$custom-light: #afa1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#877beb",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 235
  },
  "hsl": {
    "h": 246.429,
    "s": 73.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64527,
    "c": 0.16284,
    "h": 285.8
  },
  "luminance": 0.25315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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