#877BB2#877BB2

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

Color values

HEX#877BB2
RGBrgb(135, 123, 178)
HSLhsl(253, 26%, 59%)
HSVhsv(253, 31%, 70%)
CMYKcmyk(24.2%, 30.9%, 0%, 30.2%)
CIE-LABlab(54.59, 16.57, -27.43)
CIE-LCHlch(54.59, 32.05, 301.14°)
OKLaboklab(61.49% 0.0335 -0.0758)
OKLCHoklch(61.49% 0.083 293.8)
XYZxyz(25.1086, 22.5309, 45.1369)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BB2 #A6B27B
analogous
#7B8BB2 #877BB2 #A37BB2
triadic
#877BB2 #B2877B #7BB287
tetradic
#877BB2 #B27B8B #A6B27B #7BB2A3
square
#877BB2 #B27B8B #A6B27B #7BB2A3
split-complementary
#877BB2 #B2A37B #8BB27B
monochromatic
#4C4271 #665897 #877BB2 #AAA2C9 #CDC8DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877BB2#FFFFFF#000000##000000
##877BB21.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)
#6D83B4
Deuteranopia (green-blind)
#6F82B1
Tritanopia (blue-blind)
#7E848F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #877bb2;
/* rgb */ color: rgb(135, 123, 178);
/* oklch */ color: oklch(61.5% 0.083 293.8);
Tailwind
colors: {
  custom: {
    50: '#aba1c9',
    500: '#877bb2',
    950: '#000000',
  },
}
SCSS
$custom: #877bb2;
$custom-light: #aba1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#877bb2",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 253.091,
    "s": 26.316,
    "l": 59.02
  },
  "oklch": {
    "l": 0.6149,
    "c": 0.0829,
    "h": 293.8
  },
  "luminance": 0.22531
}

Semantic roles & 50–950 ramp

primary
#877BB2
secondary
#CACFBA
accent
#C365AE
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100F13
muted
#7F7E82

Preview Lab

Preview with #877BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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