#877FE3#877FE3

#877FE3 is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.8% C 0.146 H 285.2°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#877FE3
RGBrgb(135, 127, 227)
HSLhsl(245, 64%, 69%)
HSVhsv(245, 44%, 89%)
CMYKcmyk(40.5%, 44.1%, 0%, 11%)
CIE-LABlab(57.92, 27.19, -49.96)
CIE-LCHlch(57.92, 56.88, 298.56°)
OKLaboklab(64.79% 0.0383 -0.1411)
OKLCHoklch(64.79% 0.146 285.2)
XYZxyz(31.4422, 25.8745, 75.9958)
Luminance0.2588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FE3 #DBE37F
analogous
#7FA9E3 #877FE3 #B97FE3
triadic
#877FE3 #E3877F #7FE387
tetradic
#877FE3 #E37FA9 #DBE37F #7FE3B9
square
#877FE3 #E37FA9 #DBE37F #7FE3B9
split-complementary
#877FE3 #E3B97F #A9E37F
monochromatic
#352ABE #584DD8 #877FE3 #B6B1EE #E5E3F9

Accessibility & contrast

On white

3.40
#877FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#877FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FE3
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FE3#FFFFFF#000000##000000
##877FE31.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8EE7
Deuteranopia (green-blind)
#5888E1
Tritanopia (blue-blind)
#6C93A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877fe3;
/* rgb */ color: rgb(135, 127, 227);
/* oklch */ color: oklch(64.8% 0.146 285.2);
Tailwind
colors: {
  custom: {
    50: '#aea4ec',
    500: '#877fe3',
    950: '#000000',
  },
}
SCSS
$custom: #877fe3;
$custom-light: #aea4ec;
$custom-dark: #000000;
JSON
{
  "hex": "#877fe3",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 227
  },
  "hsl": {
    "h": 244.8,
    "s": 64.103,
    "l": 69.412
  },
  "oklch": {
    "l": 0.64792,
    "c": 0.14623,
    "h": 285.2
  },
  "luminance": 0.25876
}

Semantic roles & 50–950 ramp

primary
#877FE3
secondary
#EBEDD0
accent
#CC1ABE
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #877FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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