#877DF6#877DF6

#877DF6 is a light, vivid blue. Relative luminance 0.265; OKLCH L 65.6% C 0.175 H 284.2°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#877DF6
RGBrgb(135, 125, 246)
HSLhsl(245, 87%, 73%)
HSVhsv(245, 49%, 96%)
CMYKcmyk(45.1%, 49.2%, 0%, 3.5%)
CIE-LABlab(58.48, 33.74, -59.62)
CIE-LCHlch(58.48, 68.51, 299.51°)
OKLaboklab(65.56% 0.043 -0.1694)
OKLCHoklch(65.56% 0.175 284.2)
XYZxyz(33.9550, 26.4704, 90.4911)
Luminance0.2647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DF6 #ECF67D
analogous
#7DAFF6 #877DF6 #C47DF6
triadic
#877DF6 #F6877D #7DF687
tetradic
#877DF6 #F67DAF #ECF67D #7DF6C4
square
#877DF6 #F67DAF #ECF67D #7DF6C4
split-complementary
#877DF6 #F6C47D #AFF67D
monochromatic
#2210E9 #5244F2 #877DF6 #BCB6FA #E5E2FD

Accessibility & contrast

On white

3.34
#877DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#877DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DF6
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DF6#FFFFFF#000000##000000
##877DF61.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4890FA
Deuteranopia (green-blind)
#4389F3
Tritanopia (blue-blind)
#6397AE
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #877df6;
/* rgb */ color: rgb(135, 125, 246);
/* oklch */ color: oklch(65.6% 0.175 284.2);
Tailwind
colors: {
  custom: {
    50: '#b0a2fa',
    500: '#877df6',
    950: '#000000',
  },
}
SCSS
$custom: #877df6;
$custom-light: #b0a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#877df6",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 246
  },
  "hsl": {
    "h": 244.959,
    "s": 87.05,
    "l": 72.745
  },
  "oklch": {
    "l": 0.65556,
    "c": 0.1748,
    "h": 284.2
  },
  "luminance": 0.26472
}

Semantic roles & 50–950 ramp

primary
#877DF6
secondary
#F2F5D6
accent
#E402D1
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #877DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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