#877FD2#877FD2

#877FD2 is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.9% C 0.122 H 286.8°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#877FD2
RGBrgb(135, 127, 210)
HSLhsl(246, 48%, 66%)
HSVhsv(246, 40%, 82%)
CMYKcmyk(35.7%, 39.5%, 0%, 17.6%)
CIE-LABlab(57.06, 22.52, -41.78)
CIE-LCHlch(57.06, 47.46, 298.32°)
OKLaboklab(63.86% 0.0354 -0.1173)
OKLCHoklch(63.86% 0.123 286.8)
XYZxyz(29.2107, 24.9819, 64.2432)
Luminance0.2498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FD2 #CAD27F
analogous
#7FA0D2 #877FD2 #B07FD2
triadic
#877FD2 #D2877F #7FD287
tetradic
#877FD2 #D27FA0 #CAD27F #7FD2B0
square
#877FD2 #D27FA0 #CAD27F #7FD2B0
split-complementary
#877FD2 #D2B07F #A0D27F
monochromatic
#42389F #5D52C2 #877FD2 #B1ACE2 #DCDAF2

Accessibility & contrast

On white

3.50
#877FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#877FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FD2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FD2#FFFFFF#000000##000000
##877FD21.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#648BD5
Deuteranopia (green-blind)
#6387D0
Tritanopia (blue-blind)
#738F9E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #877fd2;
/* rgb */ color: rgb(135, 127, 210);
/* oklch */ color: oklch(63.9% 0.122 286.8);
Tailwind
colors: {
  custom: {
    50: '#aca4e0',
    500: '#877fd2',
    950: '#000000',
  },
}
SCSS
$custom: #877fd2;
$custom-light: #aca4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#877fd2",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 245.783,
    "s": 47.977,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63858,
    "c": 0.1225,
    "h": 286.8
  },
  "luminance": 0.24983
}

Semantic roles & 50–950 ramp

primary
#877FD2
secondary
#E1E4C9
accent
#BB2AAD
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #877FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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