#877ED2#877ED2

#877ED2 is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.7% C 0.124 H 287.2°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#877ED2
RGBrgb(135, 126, 210)
HSLhsl(246, 48%, 66%)
HSVhsv(246, 40%, 82%)
CMYKcmyk(35.7%, 40%, 0%, 17.6%)
CIE-LABlab(56.81, 23.10, -42.18)
CIE-LCHlch(56.81, 48.09, 298.71°)
OKLaboklab(63.67% 0.0367 -0.1184)
OKLCHoklch(63.67% 0.124 287.2)
XYZxyz(29.0822, 24.7249, 64.2004)
Luminance0.2473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877ED2 #C9D27E
analogous
#7E9FD2 #877ED2 #B17ED2
triadic
#877ED2 #D2877E #7ED287
tetradic
#877ED2 #D27E9F #C9D27E #7ED2B1
square
#877ED2 #D27E9F #C9D27E #7ED2B1
split-complementary
#877ED2 #D2B17E #9FD27E
monochromatic
#42379E #5D51C2 #877ED2 #B1ABE2 #DBD9F2

Accessibility & contrast

On white

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

On black

5.95
#877ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877ED2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877ED2#FFFFFF#000000##000000
##877ED21.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#638AD5
Deuteranopia (green-blind)
#6286D0
Tritanopia (blue-blind)
#738E9E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #877ed2;
/* rgb */ color: rgb(135, 126, 210);
/* oklch */ color: oklch(63.7% 0.124 287.2);
Tailwind
colors: {
  custom: {
    50: '#ada3e0',
    500: '#877ed2',
    950: '#000000',
  },
}
SCSS
$custom: #877ed2;
$custom-light: #ada3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#877ed2",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 210
  },
  "hsl": {
    "h": 246.429,
    "s": 48.276,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63667,
    "c": 0.12399,
    "h": 287.2
  },
  "luminance": 0.24726
}

Semantic roles & 50–950 ramp

primary
#877ED2
secondary
#E1E4C8
accent
#BC2AAC
background
#FAFAFD
surface
#F4F3FB
border
#CECDD4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #877ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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