#877EF2#877EF2

#877EF2 is a light, vivid blue. Relative luminance 0.265; OKLCH L 65.5% C 0.168 H 284.3°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#877EF2
RGBrgb(135, 126, 242)
HSLhsl(245, 82%, 72%)
HSVhsv(245, 48%, 95%)
CMYKcmyk(44.2%, 47.9%, 0%, 5.1%)
CIE-LABlab(58.49, 32.01, -57.39)
CIE-LCHlch(58.49, 65.72, 299.15°)
OKLaboklab(65.49% 0.0414 -0.1629)
OKLCHoklch(65.49% 0.168 284.3)
XYZxyz(33.4749, 26.4820, 87.3349)
Luminance0.2648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EF2 #E9F27E
analogous
#7EAFF2 #877EF2 #C17EF2
triadic
#877EF2 #F2877E #7EF287
tetradic
#877EF2 #F27EAF #E9F27E #7EF2C1
square
#877EF2 #F27EAF #E9F27E #7EF2C1
split-complementary
#877EF2 #F2C17E #AFF27E
monochromatic
#2616DF #5346EC #877EF2 #BBB6F8 #E5E3FC

Accessibility & contrast

On white

3.34
#877EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#877EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EF2
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EF2#FFFFFF#000000##000000
##877EF21.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D90F6
Deuteranopia (green-blind)
#4989EF
Tritanopia (blue-blind)
#6596AD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #877ef2;
/* rgb */ color: rgb(135, 126, 242);
/* oklch */ color: oklch(65.5% 0.168 284.3);
Tailwind
colors: {
  custom: {
    50: '#afa3f7',
    500: '#877ef2',
    950: '#000000',
  },
}
SCSS
$custom: #877ef2;
$custom-light: #afa3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#877ef2",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 244.655,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.6549,
    "c": 0.16807,
    "h": 284.3
  },
  "luminance": 0.26483
}

Semantic roles & 50–950 ramp

primary
#877EF2
secondary
#F2F4D7
accent
#DE07CD
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #877EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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