#877FD3#877FD3

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

Color values

HEX#877FD3
RGBrgb(135, 127, 211)
HSLhsl(246, 49%, 66%)
HSVhsv(246, 40%, 83%)
CMYKcmyk(36%, 39.8%, 0%, 17.3%)
CIE-LABlab(57.11, 22.79, -42.27)
CIE-LCHlch(57.11, 48.02, 298.33°)
OKLaboklab(63.91% 0.0356 -0.1187)
OKLCHoklch(63.91% 0.124 286.7)
XYZxyz(29.3357, 25.0319, 64.9014)
Luminance0.2503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FD3 #CBD37F
analogous
#7FA1D3 #877FD3 #B17FD3
triadic
#877FD3 #D3877F #7FD387
tetradic
#877FD3 #D37FA1 #CBD37F #7FD3B1
square
#877FD3 #D37FA1 #CBD37F #7FD3B1
split-complementary
#877FD3 #D3B17F #A1D37F
monochromatic
#4137A0 #5C51C3 #877FD3 #B2ADE3 #DCDAF2

Accessibility & contrast

On white

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

On black

6.01
#877FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FD3
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FD3#FFFFFF#000000##000000
##877FD31.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#648BD6
Deuteranopia (green-blind)
#6287D1
Tritanopia (blue-blind)
#738F9F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #877fd3;
/* rgb */ color: rgb(135, 127, 211);
/* oklch */ color: oklch(63.9% 0.124 286.7);
Tailwind
colors: {
  custom: {
    50: '#ada4e1',
    500: '#877fd3',
    950: '#000000',
  },
}
SCSS
$custom: #877fd3;
$custom-light: #ada4e1;
$custom-dark: #000000;
JSON
{
  "hex": "#877fd3",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 211
  },
  "hsl": {
    "h": 245.714,
    "s": 48.837,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63911,
    "c": 0.1239,
    "h": 286.7
  },
  "luminance": 0.25033
}

Semantic roles & 50–950 ramp

primary
#877FD3
secondary
#E2E5C9
accent
#BC29AE
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #877FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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