#877BB5#877BB5

#877BB5 is a mid, moderate violet. Relative luminance 0.227; OKLCH L 61.6% C 0.087 H 293.2°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#877BB5
RGBrgb(135, 123, 181)
HSLhsl(252, 28%, 60%)
HSVhsv(252, 32%, 71%)
CMYKcmyk(25.4%, 32%, 0%, 29%)
CIE-LABlab(54.71, 17.32, -28.95)
CIE-LCHlch(54.71, 33.74, 300.88°)
OKLaboklab(61.63% 0.0343 -0.0802)
OKLCHoklch(61.63% 0.087 293.2)
XYZxyz(25.4131, 22.6527, 46.7406)
Luminance0.2265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BB5 #A9B57B
analogous
#7B8CB5 #877BB5 #A47BB5
triadic
#877BB5 #B5877B #7BB587
tetradic
#877BB5 #B57B8C #A9B57B #7BB5A4
square
#877BB5 #B57B8C #A9B57B #7BB5A4
split-complementary
#877BB5 #B5A47B #8CB57B
monochromatic
#4C4174 #65579C #877BB5 #ABA2CB #CEC9E1

Accessibility & contrast

On white

3.80
#877BB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#877BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BB5
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BB5#FFFFFF#000000##000000
##877BB51.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C84B7
Deuteranopia (green-blind)
#6D82B3
Tritanopia (blue-blind)
#7D8590
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #877bb5;
/* rgb */ color: rgb(135, 123, 181);
/* oklch */ color: oklch(61.6% 0.087 293.2);
Tailwind
colors: {
  custom: {
    50: '#aba1cb',
    500: '#877bb5',
    950: '#000000',
  },
}
SCSS
$custom: #877bb5;
$custom-light: #aba1cb;
$custom-dark: #000000;
JSON
{
  "hex": "#877bb5",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 181
  },
  "hsl": {
    "h": 252.414,
    "s": 28.155,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61629,
    "c": 0.08723,
    "h": 293.2
  },
  "luminance": 0.22653
}

Semantic roles & 50–950 ramp

primary
#877BB5
secondary
#CCD1BB
accent
#C463B0
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100F13
muted
#7F7E82

Preview Lab

Preview with #877BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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