#877EDF#877EDF

#877EDF is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.4% C 0.142 H 285.9°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#877EDF
RGBrgb(135, 126, 223)
HSLhsl(246, 60%, 68%)
HSVhsv(246, 43%, 87%)
CMYKcmyk(39.5%, 43.5%, 0%, 12.5%)
CIE-LABlab(57.46, 26.67, -48.45)
CIE-LCHlch(57.46, 55.30, 298.83°)
OKLaboklab(64.38% 0.039 -0.1367)
OKLCHoklch(64.38% 0.142 285.9)
XYZxyz(30.7681, 25.3992, 73.0791)
Luminance0.2540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EDF #D6DF7E
analogous
#7EA5DF #877EDF #B77EDF
triadic
#877EDF #DF877E #7EDF87
tetradic
#877EDF #DF7EA5 #D6DF7E #7EDFB7
square
#877EDF #DF7EA5 #D6DF7E #7EDFB7
split-complementary
#877EDF #DFB77E #A5DF7E
monochromatic
#3A2DB6 #594DD3 #877EDF #B5AFEB #E2E0F7

Accessibility & contrast

On white

3.45
#877EDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#877EDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EDF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EDF#FFFFFF#000000##000000
##877EDF1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8DE3
Deuteranopia (green-blind)
#5987DD
Tritanopia (blue-blind)
#6E91A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #877edf;
/* rgb */ color: rgb(135, 126, 223);
/* oklch */ color: oklch(64.4% 0.142 285.9);
Tailwind
colors: {
  custom: {
    50: '#aea3e9',
    500: '#877edf',
    950: '#000000',
  },
}
SCSS
$custom: #877edf;
$custom-light: #aea3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#877edf",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 223
  },
  "hsl": {
    "h": 245.567,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.64379,
    "c": 0.14215,
    "h": 285.9
  },
  "luminance": 0.254
}

Semantic roles & 50–950 ramp

primary
#877EDF
secondary
#E8EBCE
accent
#C81EB8
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F16
muted
#807F84

Preview Lab

Preview with #877EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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