#877DD4#877DD4

#877DD4 is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.6% C 0.128 H 287.4°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#877DD4
RGBrgb(135, 125, 212)
HSLhsl(247, 50%, 66%)
HSVhsv(247, 41%, 83%)
CMYKcmyk(36.3%, 41%, 0%, 16.9%)
CIE-LABlab(56.65, 24.23, -43.55)
CIE-LCHlch(56.65, 49.84, 299.10°)
OKLaboklab(63.58% 0.0384 -0.1224)
OKLCHoklch(63.58% 0.128 287.4)
XYZxyz(29.2057, 24.5707, 65.4784)
Luminance0.2457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DD4 #CAD47D
analogous
#7D9ED4 #877DD4 #B27DD4
triadic
#877DD4 #D4877D #7DD487
tetradic
#877DD4 #D47D9E #CAD47D #7DD4B2
square
#877DD4 #D47D9E #CAD47D #7DD4B2
split-complementary
#877DD4 #D4B27D #9ED47D
monochromatic
#4235A1 #5D4FC5 #877DD4 #B1ABE3 #DCD9F2

Accessibility & contrast

On white

3.55
#877DD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#877DD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DD4
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DD4#FFFFFF#000000##000000
##877DD41.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#608AD7
Deuteranopia (green-blind)
#5F86D2
Tritanopia (blue-blind)
#738E9E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #877dd4;
/* rgb */ color: rgb(135, 125, 212);
/* oklch */ color: oklch(63.6% 0.128 287.4);
Tailwind
colors: {
  custom: {
    50: '#ada2e1',
    500: '#877dd4',
    950: '#000000',
  },
}
SCSS
$custom: #877dd4;
$custom-light: #ada2e1;
$custom-dark: #000000;
JSON
{
  "hex": "#877dd4",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 212
  },
  "hsl": {
    "h": 246.897,
    "s": 50.289,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63583,
    "c": 0.12829,
    "h": 287.4
  },
  "luminance": 0.24572
}

Semantic roles & 50–950 ramp

primary
#877DD4
secondary
#E1E5C8
accent
#BE28AC
background
#FAFAFD
surface
#F4F3FB
border
#CECDD4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #877DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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