#877EEC#877EEC

#877EEC is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.1% C 0.160 H 284.8°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#877EEC
RGBrgb(135, 126, 236)
HSLhsl(245, 74%, 71%)
HSVhsv(245, 47%, 93%)
CMYKcmyk(42.8%, 46.6%, 0%, 7.5%)
CIE-LABlab(58.16, 30.31, -54.60)
CIE-LCHlch(58.16, 62.44, 299.04°)
OKLaboklab(65.13% 0.0407 -0.1547)
OKLCHoklch(65.13% 0.16 284.8)
XYZxyz(32.5885, 26.1274, 82.6666)
Luminance0.2613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EEC #E3EC7E
analogous
#7EACEC #877EEC #BE7EEC
triadic
#877EEC #EC877E #7EEC87
tetradic
#877EEC #EC7EAC #E3EC7E #7EECBE
square
#877EEC #EC7EAC #E3EC7E #7EECBE
split-complementary
#877EEC #ECBE7E #ACEC7E
monochromatic
#2D1FD1 #5549E4 #877EEC #B9B3F4 #E6E4FB

Accessibility & contrast

On white

3.37
#877EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#877EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EEC
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EEC#FFFFFF#000000##000000
##877EEC1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#528FF0
Deuteranopia (green-blind)
#4F88E9
Tritanopia (blue-blind)
#6895AA
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877eec;
/* rgb */ color: rgb(135, 126, 236);
/* oklch */ color: oklch(65.1% 0.160 284.8);
Tailwind
colors: {
  custom: {
    50: '#afa3f3',
    500: '#877eec',
    950: '#000000',
  },
}
SCSS
$custom: #877eec;
$custom-light: #afa3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#877eec",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 236
  },
  "hsl": {
    "h": 244.909,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.65131,
    "c": 0.15996,
    "h": 284.8
  },
  "luminance": 0.26129
}

Semantic roles & 50–950 ramp

primary
#877EEC
secondary
#EFF2D4
accent
#D60FC6
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F17
muted
#807F85

Preview Lab

Preview with #877EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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