#877AE6#877AE6

#877AE6 is a light, vivid blue. Relative luminance 0.248; OKLCH L 64.0% C 0.158 H 286.6°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#877AE6
RGBrgb(135, 122, 230)
HSLhsl(247, 68%, 69%)
HSVhsv(247, 47%, 90%)
CMYKcmyk(41.3%, 47%, 0%, 9.8%)
CIE-LABlab(56.86, 30.96, -53.32)
CIE-LCHlch(56.86, 61.66, 300.14°)
OKLaboklab(64.05% 0.0449 -0.151)
OKLCHoklch(64.05% 0.158 286.6)
XYZxyz(31.2301, 24.7820, 77.9855)
Luminance0.2478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877AE6 #D9E67A
analogous
#7AA3E6 #877AE6 #BD7AE6
triadic
#877AE6 #E6877A #7AE687
tetradic
#877AE6 #E67AA3 #D9E67A #7AE6BD
square
#877AE6 #E67AA3 #D9E67A #7AE6BD
split-complementary
#877AE6 #E6BD7A #A3E67A
monochromatic
#3724C1 #5946DC #877AE6 #B5AEF0 #E4E1F9

Accessibility & contrast

On white

3.53
#877AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#877AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877AE6
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877AE6#FFFFFF#000000##000000
##877AE61.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#508BEA
Deuteranopia (green-blind)
#4E85E4
Tritanopia (blue-blind)
#6B90A5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #877ae6;
/* rgb */ color: rgb(135, 122, 230);
/* oklch */ color: oklch(64.0% 0.158 286.6);
Tailwind
colors: {
  custom: {
    50: '#aea0ee',
    500: '#877ae6',
    950: '#000000',
  },
}
SCSS
$custom: #877ae6;
$custom-light: #aea0ee;
$custom-dark: #000000;
JSON
{
  "hex": "#877ae6",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 230
  },
  "hsl": {
    "h": 247.222,
    "s": 68.354,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64047,
    "c": 0.1575,
    "h": 286.6
  },
  "luminance": 0.24783
}

Semantic roles & 50–950 ramp

primary
#877AE6
secondary
#EAEECE
accent
#D015BA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #877AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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