#877BE3#877BE3

#877BE3 is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.1% C 0.152 H 286.6°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#877BE3
RGBrgb(135, 123, 227)
HSLhsl(247, 65%, 69%)
HSVhsv(247, 46%, 89%)
CMYKcmyk(40.5%, 45.8%, 0%, 11%)
CIE-LABlab(56.94, 29.54, -51.52)
CIE-LCHlch(56.94, 59.38, 299.83°)
OKLaboklab(64.05% 0.0433 -0.1457)
OKLCHoklch(64.05% 0.152 286.6)
XYZxyz(30.9359, 24.8618, 75.8270)
Luminance0.2486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BE3 #D7E37B
analogous
#7BA3E3 #877BE3 #BB7BE3
triadic
#877BE3 #E3877B #7BE387
tetradic
#877BE3 #E37BA3 #D7E37B #7BE3BB
square
#877BE3 #E37BA3 #D7E37B #7BE3BB
split-complementary
#877BE3 #E3BB7B #A3E37B
monochromatic
#3928BC #5949D8 #877BE3 #B5ADEE #E3E0F8

Accessibility & contrast

On white

3.52
#877BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#877BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BE3
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BE3#FFFFFF#000000##000000
##877BE31.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#548BE7
Deuteranopia (green-blind)
#5286E1
Tritanopia (blue-blind)
#6D90A4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #877be3;
/* rgb */ color: rgb(135, 123, 227);
/* oklch */ color: oklch(64.1% 0.152 286.6);
Tailwind
colors: {
  custom: {
    50: '#aea1ec',
    500: '#877be3',
    950: '#000000',
  },
}
SCSS
$custom: #877be3;
$custom-light: #aea1ec;
$custom-dark: #000000;
JSON
{
  "hex": "#877be3",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 227
  },
  "hsl": {
    "h": 246.923,
    "s": 65,
    "l": 68.627
  },
  "oklch": {
    "l": 0.64053,
    "c": 0.15198,
    "h": 286.6
  },
  "luminance": 0.24863
}

Semantic roles & 50–950 ramp

primary
#877BE3
secondary
#E9ECCD
accent
#CD19B8
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #877BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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