#877BB3#877BB3

#877BB3 is a mid, moderate violet. Relative luminance 0.226; OKLCH L 61.5% C 0.084 H 293.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#877BB3
RGBrgb(135, 123, 179)
HSLhsl(253, 27%, 59%)
HSVhsv(253, 31%, 70%)
CMYKcmyk(24.6%, 31.3%, 0%, 29.8%)
CIE-LABlab(54.63, 16.82, -27.94)
CIE-LCHlch(54.63, 32.61, 301.05°)
OKLaboklab(61.54% 0.0338 -0.0773)
OKLCHoklch(61.54% 0.084 293.6)
XYZxyz(25.2094, 22.5712, 45.6676)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BB3 #A7B37B
analogous
#7B8BB3 #877BB3 #A37BB3
triadic
#877BB3 #B3877B #7BB387
tetradic
#877BB3 #B37B8B #A7B37B #7BB3A3
square
#877BB3 #B37B8B #A7B37B #7BB3A3
split-complementary
#877BB3 #B3A37B #8BB37B
monochromatic
#4C4272 #665899 #877BB3 #AAA2C9 #CEC9E0

Accessibility & contrast

On white

3.81
#877BB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#877BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BB3
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BB3#FFFFFF#000000##000000
##877BB31.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D83B5
Deuteranopia (green-blind)
#6E82B1
Tritanopia (blue-blind)
#7E848F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #877bb3;
/* rgb */ color: rgb(135, 123, 179);
/* oklch */ color: oklch(61.5% 0.084 293.6);
Tailwind
colors: {
  custom: {
    50: '#aba1ca',
    500: '#877bb3',
    950: '#000000',
  },
}
SCSS
$custom: #877bb3;
$custom-light: #aba1ca;
$custom-dark: #000000;
JSON
{
  "hex": "#877bb3",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 179
  },
  "hsl": {
    "h": 252.857,
    "s": 26.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61536,
    "c": 0.08435,
    "h": 293.6
  },
  "luminance": 0.22571
}

Semantic roles & 50–950 ramp

primary
#877BB3
secondary
#CBD0BA
accent
#C365AF
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100F13
muted
#7F7E82

Preview Lab

Preview with #877BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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