#877FEF#877FEF

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

Color values

HEX#877FEF
RGBrgb(135, 127, 239)
HSLhsl(244, 78%, 72%)
HSVhsv(244, 47%, 94%)
CMYKcmyk(43.5%, 46.9%, 0%, 6.3%)
CIE-LABlab(58.56, 30.58, -55.61)
CIE-LCHlch(58.56, 63.46, 298.80°)
OKLaboklab(65.49% 0.0399 -0.1577)
OKLCHoklch(65.49% 0.163 284.2)
XYZxyz(33.1565, 26.5602, 85.0242)
Luminance0.2656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FEF #E7EF7F
analogous
#7FAFEF #877FEF #BF7FEF
triadic
#877FEF #EF877F #7FEF87
tetradic
#877FEF #EF7FAF #E7EF7F #7FEFBF
square
#877FEF #EF7FAF #E7EF7F #7FEFBF
split-complementary
#877FEF #EFBF7F #AFEF7F
monochromatic
#291BD9 #5449E8 #877FEF #BAB5F6 #E6E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877FEF#FFFFFF#000000##000000
##877FEF1.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)
#5290F3
Deuteranopia (green-blind)
#4D89EC
Tritanopia (blue-blind)
#6696AC
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #877fef;
/* rgb */ color: rgb(135, 127, 239);
/* oklch */ color: oklch(65.5% 0.163 284.2);
Tailwind
colors: {
  custom: {
    50: '#afa4f5',
    500: '#877fef',
    950: '#000000',
  },
}
SCSS
$custom: #877fef;
$custom-light: #afa4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#877fef",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 244.286,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.65491,
    "c": 0.16263,
    "h": 284.2
  },
  "luminance": 0.26562
}

Semantic roles & 50–950 ramp

primary
#877FEF
secondary
#F1F3D7
accent
#DA0BCB
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#110F17
muted
#807F85

Preview Lab

Preview with #877FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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