#877EB4#877EB4

#877EB4 is a light, moderate violet. Relative luminance 0.234; OKLCH L 62.2% C 0.081 H 291.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#877EB4
RGBrgb(135, 126, 180)
HSLhsl(250, 26%, 60%)
HSVhsv(250, 30%, 71%)
CMYKcmyk(25%, 30%, 0%, 29.4%)
CIE-LABlab(55.45, 15.31, -27.24)
CIE-LCHlch(55.45, 31.24, 299.33°)
OKLaboklab(62.18% 0.0297 -0.0753)
OKLCHoklch(62.18% 0.081 291.5)
XYZxyz(25.6888, 23.3675, 46.3281)
Luminance0.2337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EB4 #ABB47E
analogous
#7E90B4 #877EB4 #A27EB4
triadic
#877EB4 #B4877E #7EB487
tetradic
#877EB4 #B47E90 #ABB47E #7EB4A2
square
#877EB4 #B47E90 #ABB47E #7EB4A2
split-complementary
#877EB4 #B4A27E #90B47E
monochromatic
#4C4374 #655A9B #877EB4 #ABA5CB #CFCBE1

Accessibility & contrast

On white

3.70
#877EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#877EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EB4
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EB4#FFFFFF#000000##000000
##877EB41.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7086B6
Deuteranopia (green-blind)
#7184B3
Tritanopia (blue-blind)
#7D8791
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #877eb4;
/* rgb */ color: rgb(135, 126, 180);
/* oklch */ color: oklch(62.2% 0.081 291.5);
Tailwind
colors: {
  custom: {
    50: '#aba3ca',
    500: '#877eb4',
    950: '#000000',
  },
}
SCSS
$custom: #877eb4;
$custom-light: #aba3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#877eb4",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 180
  },
  "hsl": {
    "h": 250,
    "s": 26.471,
    "l": 60
  },
  "oklch": {
    "l": 0.62181,
    "c": 0.08094,
    "h": 291.5
  },
  "luminance": 0.23368
}

Semantic roles & 50–950 ramp

primary
#877EB4
secondary
#CED1BD
accent
#C365B3
background
#FAFAFC
surface
#F4F3F8
border
#CECDD1
text
#100F13
muted
#7F7F82

Preview Lab

Preview with #877EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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