#877FB2#877FB2

#877FB2 is a light, moderate blue. Relative luminance 0.235; OKLCH L 62.3% C 0.076 H 291.2°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#877FB2
RGBrgb(135, 127, 178)
HSLhsl(249, 25%, 60%)
HSVhsv(249, 29%, 70%)
CMYKcmyk(24.2%, 28.7%, 0%, 30.2%)
CIE-LABlab(55.63, 14.22, -25.82)
CIE-LCHlch(55.63, 29.47, 298.85°)
OKLaboklab(62.29% 0.0276 -0.0712)
OKLCHoklch(62.29% 0.076 291.2)
XYZxyz(25.6150, 23.5436, 45.3057)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FB2 #AAB27F
analogous
#7F91B2 #877FB2 #A17FB2
triadic
#877FB2 #B2877F #7FB287
tetradic
#877FB2 #B27F91 #AAB27F #7FB2A1
square
#877FB2 #B27F91 #AAB27F #7FB2A1
split-complementary
#877FB2 #B2A17F #91B27F
monochromatic
#4C4572 #655C98 #877FB2 #ABA5C9 #CFCBE0

Accessibility & contrast

On white

3.68
#877FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#877FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FB2
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FB2#FFFFFF#000000##000000
##877FB21.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7286B4
Deuteranopia (green-blind)
#7384B1
Tritanopia (blue-blind)
#7E8891
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #877fb2;
/* rgb */ color: rgb(135, 127, 178);
/* oklch */ color: oklch(62.3% 0.076 291.2);
Tailwind
colors: {
  custom: {
    50: '#aba4c9',
    500: '#877fb2',
    950: '#000000',
  },
}
SCSS
$custom: #877fb2;
$custom-light: #aba4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#877fb2",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 249.412,
    "s": 24.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62292,
    "c": 0.07642,
    "h": 291.2
  },
  "luminance": 0.23544
}

Semantic roles & 50–950 ramp

primary
#877FB2
secondary
#CDD0BD
accent
#C167B3
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#100F13
muted
#7F7F82

Preview Lab

Preview with #877FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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