#877DD9#877DD9

#877DD9 is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.9% C 0.135 H 286.9°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#877DD9
RGBrgb(135, 125, 217)
HSLhsl(247, 55%, 67%)
HSVhsv(247, 42%, 85%)
CMYKcmyk(37.8%, 42.4%, 0%, 14.9%)
CIE-LABlab(56.91, 25.60, -45.96)
CIE-LCHlch(56.91, 52.61, 299.11°)
OKLaboklab(63.86% 0.0393 -0.1294)
OKLCHoklch(63.86% 0.135 286.9)
XYZxyz(29.8462, 24.8269, 68.8517)
Luminance0.2483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DD9 #CFD97D
analogous
#7DA1D9 #877DD9 #B57DD9
triadic
#877DD9 #D9877D #7DD987
tetradic
#877DD9 #D97DA1 #CFD97D #7DD9B5
square
#877DD9 #D97DA1 #CFD97D #7DD9B5
split-complementary
#877DD9 #D9B57D #A1D97D
monochromatic
#3F32AA #5B4ECB #877DD9 #B3ACE7 #DEDCF5

Accessibility & contrast

On white

3.52
#877DD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#877DD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DD9
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DD9#FFFFFF#000000##000000
##877DD91.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8BDC
Deuteranopia (green-blind)
#5C86D7
Tritanopia (blue-blind)
#718FA0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #877dd9;
/* rgb */ color: rgb(135, 125, 217);
/* oklch */ color: oklch(63.9% 0.135 286.9);
Tailwind
colors: {
  custom: {
    50: '#ada2e5',
    500: '#877dd9',
    950: '#000000',
  },
}
SCSS
$custom: #877dd9;
$custom-light: #ada2e5;
$custom-dark: #000000;
JSON
{
  "hex": "#877dd9",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 217
  },
  "hsl": {
    "h": 246.522,
    "s": 54.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.63857,
    "c": 0.13528,
    "h": 286.9
  },
  "luminance": 0.24828
}

Semantic roles & 50–950 ramp

primary
#877DD9
secondary
#E4E8CA
accent
#C223B1
background
#FAFAFE
surface
#F5F3FC
border
#CFCDD5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #877DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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