#877AED#877AED

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

Color values

HEX#877AED
RGBrgb(135, 122, 237)
HSLhsl(247, 76%, 70%)
HSVhsv(247, 49%, 93%)
CMYKcmyk(43%, 48.5%, 0%, 7.1%)
CIE-LABlab(57.25, 32.93, -56.60)
CIE-LCHlch(57.25, 65.48, 300.19°)
OKLaboklab(64.47% 0.0457 -0.1606)
OKLCHoklch(64.47% 0.167 285.9)
XYZxyz(32.2329, 25.1831, 83.2668)
Luminance0.2518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877AED #E0ED7A
analogous
#7AA6ED #877AED #C17AED
triadic
#877AED #ED877A #7AED87
tetradic
#877AED #ED7AA6 #E0ED7A #7AEDC1
square
#877AED #ED7AA6 #E0ED7A #7AEDC1
split-complementary
#877AED #EDC17A #A6ED7A
monochromatic
#311CD0 #5644E6 #877AED #B8B0F4 #E7E4FB

Accessibility & contrast

On white

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

On black

6.04
#877AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877AED
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877AED#FFFFFF#000000##000000
##877AED1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8DF1
Deuteranopia (green-blind)
#4786EA
Tritanopia (blue-blind)
#6892A8
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #877aed;
/* rgb */ color: rgb(135, 122, 237);
/* oklch */ color: oklch(64.5% 0.167 285.9);
Tailwind
colors: {
  custom: {
    50: '#afa0f3',
    500: '#877aed',
    950: '#000000',
  },
}
SCSS
$custom: #877aed;
$custom-light: #afa0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#877aed",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 246.783,
    "s": 76.159,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64468,
    "c": 0.16694,
    "h": 285.9
  },
  "luminance": 0.25184
}

Semantic roles & 50–950 ramp

primary
#877AED
secondary
#EEF1D2
accent
#D80DC1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #877AED

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

Preview Lab → · Contrast checker → · Palette generator →

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