#877EFA#877EFA

#877EFA is a light, vivid blue. Relative luminance 0.270; OKLCH L 66.0% C 0.179 H 283.6°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#877EFA
RGBrgb(135, 126, 250)
HSLhsl(244, 93%, 74%)
HSVhsv(244, 50%, 98%)
CMYKcmyk(46%, 49.6%, 0%, 2%)
CIE-LABlab(58.95, 34.31, -61.08)
CIE-LCHlch(58.95, 70.06, 299.32°)
OKLaboklab(65.98% 0.0421 -0.1737)
OKLCHoklch(65.98% 0.179 283.6)
XYZxyz(34.7027, 26.9731, 93.8017)
Luminance0.2697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EFA #F1FA7E
analogous
#7EB3FA #877EFA #C57EFA
triadic
#877EFA #FA877E #7EFA87
tetradic
#877EFA #FA7EB3 #F1FA7E #7EFAC5
square
#877EFA #FA7EB3 #F1FA7E #7EFAC5
split-complementary
#877EFA #FAC57E #B3FA7E
monochromatic
#1A09F4 #5043F8 #877EFA #BEB9FC #E4E2FE

Accessibility & contrast

On white

3.28
#877EFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#877EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EFA
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EFA#FFFFFF#000000##000000
##877EFA1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4692FE
Deuteranopia (green-blind)
#408AF7
Tritanopia (blue-blind)
#6099B0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #877efa;
/* rgb */ color: rgb(135, 126, 250);
/* oklch */ color: oklch(66.0% 0.179 283.6);
Tailwind
colors: {
  custom: {
    50: '#b0a3fd',
    500: '#877efa',
    950: '#000000',
  },
}
SCSS
$custom: #877efa;
$custom-light: #b0a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#877efa",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 244.355,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.65982,
    "c": 0.17876,
    "h": 283.6
  },
  "luminance": 0.26975
}

Semantic roles & 50–950 ramp

primary
#877EFA
secondary
#F4F6D5
accent
#E600D5
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F18
muted
#807F86

Preview Lab

Preview with #877EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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