#877EB2#877EB2

#877EB2 is a light, moderate violet. Relative luminance 0.233; OKLCH L 62.1% C 0.078 H 291.9°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#877EB2
RGBrgb(135, 126, 178)
HSLhsl(250, 25%, 60%)
HSVhsv(250, 29%, 70%)
CMYKcmyk(24.2%, 29.2%, 0%, 30.2%)
CIE-LABlab(55.37, 14.81, -26.22)
CIE-LCHlch(55.37, 30.11, 299.46°)
OKLaboklab(62.09% 0.0291 -0.0724)
OKLCHoklch(62.09% 0.078 291.9)
XYZxyz(25.4865, 23.2866, 45.2629)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EB2 #A9B27E
analogous
#7E8FB2 #877EB2 #A17EB2
triadic
#877EB2 #B2877E #7EB287
tetradic
#877EB2 #B27E8F #A9B27E #7EB2A1
square
#877EB2 #B27E8F #A9B27E #7EB2A1
split-complementary
#877EB2 #B2A17E #8FB27E
monochromatic
#4C4472 #655B98 #877EB2 #ABA4C9 #CECBE0

Accessibility & contrast

On white

3.71
#877EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#877EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EB2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EB2#FFFFFF#000000##000000
##877EB21.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7185B4
Deuteranopia (green-blind)
#7284B1
Tritanopia (blue-blind)
#7E8790
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #877eb2;
/* rgb */ color: rgb(135, 126, 178);
/* oklch */ color: oklch(62.1% 0.078 291.9);
Tailwind
colors: {
  custom: {
    50: '#aba3c9',
    500: '#877eb2',
    950: '#000000',
  },
}
SCSS
$custom: #877eb2;
$custom-light: #aba3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#877eb2",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 178
  },
  "hsl": {
    "h": 250.385,
    "s": 25.243,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62091,
    "c": 0.07802,
    "h": 291.9
  },
  "luminance": 0.23287
}

Semantic roles & 50–950 ramp

primary
#877EB2
secondary
#CCD0BC
accent
#C266B2
background
#FAFAFC
surface
#F4F3F8
border
#CECDD1
text
#100F13
muted
#7F7F82

Preview Lab

Preview with #877EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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