#877FD4#877FD4

#877FD4 is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.0% C 0.125 H 286.6°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#877FD4
RGBrgb(135, 127, 212)
HSLhsl(246, 50%, 66%)
HSVhsv(246, 40%, 83%)
CMYKcmyk(36.3%, 40.1%, 0%, 16.9%)
CIE-LABlab(57.16, 23.06, -42.76)
CIE-LCHlch(57.16, 48.58, 298.34°)
OKLaboklab(63.97% 0.0358 -0.1201)
OKLCHoklch(63.97% 0.125 286.6)
XYZxyz(29.4615, 25.0822, 65.5637)
Luminance0.2508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FD4 #CCD47F
analogous
#7FA2D4 #877FD4 #B27FD4
triadic
#877FD4 #D4877F #7FD487
tetradic
#877FD4 #D47FA2 #CCD47F #7FD4B2
square
#877FD4 #D47FA2 #CCD47F #7FD4B2
split-complementary
#877FD4 #D4B27F #A2D47F
monochromatic
#4136A2 #5C51C5 #877FD4 #B2ADE3 #DDDBF3

Accessibility & contrast

On white

3.49
#877FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#877FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FD4
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FD4#FFFFFF#000000##000000
##877FD41.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#638BD7
Deuteranopia (green-blind)
#6287D2
Tritanopia (blue-blind)
#738F9F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #877fd4;
/* rgb */ color: rgb(135, 127, 212);
/* oklch */ color: oklch(64.0% 0.125 286.6);
Tailwind
colors: {
  custom: {
    50: '#ada4e1',
    500: '#877fd4',
    950: '#000000',
  },
}
SCSS
$custom: #877fd4;
$custom-light: #ada4e1;
$custom-dark: #000000;
JSON
{
  "hex": "#877fd4",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 212
  },
  "hsl": {
    "h": 245.647,
    "s": 49.708,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63965,
    "c": 0.12532,
    "h": 286.6
  },
  "luminance": 0.25083
}

Semantic roles & 50–950 ramp

primary
#877FD4
secondary
#E3E5CA
accent
#BD28AF
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #877FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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