#877AEA#877AEA

#877AEA is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.3% C 0.163 H 286.2°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#877AEA
RGBrgb(135, 122, 234)
HSLhsl(247, 73%, 70%)
HSVhsv(247, 48%, 92%)
CMYKcmyk(42.3%, 47.9%, 0%, 8.2%)
CIE-LABlab(57.08, 32.08, -55.20)
CIE-LCHlch(57.08, 63.84, 300.17°)
OKLaboklab(64.29% 0.0454 -0.1565)
OKLCHoklch(64.29% 0.163 286.2)
XYZxyz(31.7982, 25.0093, 80.9778)
Luminance0.2501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877AEA #DDEA7A
analogous
#7AA5EA #877AEA #BF7AEA
triadic
#877AEA #EA877A #7AEA87
tetradic
#877AEA #EA7AA5 #DDEA7A #7AEABF
square
#877AEA #EA7AA5 #DDEA7A #7AEABF
split-complementary
#877AEA #EABF7A #A5EA7A
monochromatic
#3420CA #5745E2 #877AEA #B7AFF2 #E6E4FB

Accessibility & contrast

On white

3.50
#877AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#877AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877AEA
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877AEA#FFFFFF#000000##000000
##877AEA1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8CEE
Deuteranopia (green-blind)
#4A86E7
Tritanopia (blue-blind)
#6991A7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #877aea;
/* rgb */ color: rgb(135, 122, 234);
/* oklch */ color: oklch(64.3% 0.163 286.2);
Tailwind
colors: {
  custom: {
    50: '#afa0f1',
    500: '#877aea',
    950: '#000000',
  },
}
SCSS
$custom: #877aea;
$custom-light: #afa0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#877aea",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 234
  },
  "hsl": {
    "h": 246.964,
    "s": 72.727,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64286,
    "c": 0.1629,
    "h": 286.2
  },
  "luminance": 0.2501
}

Semantic roles & 50–950 ramp

primary
#877AEA
secondary
#ECF0D0
accent
#D511BE
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #877AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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