#877DD7#877DD7

#877DD7 is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.7% C 0.132 H 287.1°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#877DD7
RGBrgb(135, 125, 215)
HSLhsl(247, 53%, 67%)
HSVhsv(247, 42%, 84%)
CMYKcmyk(37.2%, 41.9%, 0%, 15.7%)
CIE-LABlab(56.80, 25.05, -45.00)
CIE-LCHlch(56.80, 51.50, 299.10°)
OKLaboklab(63.75% 0.039 -0.1266)
OKLCHoklch(63.75% 0.132 287.1)
XYZxyz(29.5877, 24.7235, 67.4900)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DD7 #CDD77D
analogous
#7DA0D7 #877DD7 #B47DD7
triadic
#877DD7 #D7877D #7DD787
tetradic
#877DD7 #D77DA0 #CDD77D #7DD7B4
square
#877DD7 #D77DA0 #CDD77D #7DD7B4
split-complementary
#877DD7 #D7B47D #A0D77D
monochromatic
#4033A6 #5C4EC9 #877DD7 #B2ACE5 #DDDBF4

Accessibility & contrast

On white

3.53
#877DD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#877DD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DD7
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DD7#FFFFFF#000000##000000
##877DD71.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8BDA
Deuteranopia (green-blind)
#5D86D5
Tritanopia (blue-blind)
#728EA0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #877dd7;
/* rgb */ color: rgb(135, 125, 215);
/* oklch */ color: oklch(63.7% 0.132 287.1);
Tailwind
colors: {
  custom: {
    50: '#ada2e4',
    500: '#877dd7',
    950: '#000000',
  },
}
SCSS
$custom: #877dd7;
$custom-light: #ada2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#877dd7",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 215
  },
  "hsl": {
    "h": 246.667,
    "s": 52.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63747,
    "c": 0.13249,
    "h": 287.1
  },
  "luminance": 0.24724
}

Semantic roles & 50–950 ramp

primary
#877DD7
secondary
#E3E6C9
accent
#C025AF
background
#FAFAFE
surface
#F5F3FC
border
#CFCDD5
text
#100F15
muted
#7F7F84

Preview Lab

Preview with #877DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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