#877EF3#877EF3

#877EF3 is a light, vivid blue. Relative luminance 0.265; OKLCH L 65.6% C 0.169 H 284.2°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#877EF3
RGBrgb(135, 126, 243)
HSLhsl(245, 83%, 72%)
HSVhsv(245, 48%, 95%)
CMYKcmyk(44.4%, 48.1%, 0%, 4.7%)
CIE-LABlab(58.55, 32.30, -57.86)
CIE-LCHlch(58.55, 66.26, 299.17°)
OKLaboklab(65.55% 0.0415 -0.1642)
OKLCHoklch(65.55% 0.169 284.2)
XYZxyz(33.6255, 26.5422, 88.1281)
Luminance0.2654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EF3 #EAF37E
analogous
#7EB0F3 #877EF3 #C17EF3
triadic
#877EF3 #F3877E #7EF387
tetradic
#877EF3 #F37EB0 #EAF37E #7EF3C1
square
#877EF3 #F37EB0 #EAF37E #7EF3C1
split-complementary
#877EF3 #F3C17E #B0F37E
monochromatic
#2515E2 #5346EE #877EF3 #BBB6F8 #E5E3FC

Accessibility & contrast

On white

3.33
#877EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#877EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EF3
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EF3#FFFFFF#000000##000000
##877EF31.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C90F7
Deuteranopia (green-blind)
#4889F0
Tritanopia (blue-blind)
#6497AD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #877ef3;
/* rgb */ color: rgb(135, 126, 243);
/* oklch */ color: oklch(65.6% 0.169 284.2);
Tailwind
colors: {
  custom: {
    50: '#afa3f8',
    500: '#877ef3',
    950: '#000000',
  },
}
SCSS
$custom: #877ef3;
$custom-light: #afa3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#877ef3",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 243
  },
  "hsl": {
    "h": 244.615,
    "s": 82.979,
    "l": 72.353
  },
  "oklch": {
    "l": 0.65551,
    "c": 0.16941,
    "h": 284.2
  },
  "luminance": 0.26544
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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