#877BBB#877BBB

#877BBB is a mid, moderate violet. Relative luminance 0.229; OKLCH L 61.9% C 0.096 H 292.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#877BBB
RGBrgb(135, 123, 187)
HSLhsl(251, 32%, 61%)
HSVhsv(251, 34%, 73%)
CMYKcmyk(27.8%, 34.2%, 0%, 26.7%)
CIE-LABlab(54.97, 18.83, -31.99)
CIE-LCHlch(54.97, 37.12, 300.48°)
OKLaboklab(61.92% 0.0359 -0.0889)
OKLCHoklch(61.92% 0.096 292)
XYZxyz(26.0421, 22.9042, 50.0530)
Luminance0.2291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BBB #AFBB7B
analogous
#7B8FBB #877BBB #A77BBB
triadic
#877BBB #BB877B #7BBB87
tetradic
#877BBB #BB7B8F #AFBB7B #7BBBA7
square
#877BBB #BB7B8F #AFBB7B #7BBBA7
split-complementary
#877BBB #BBA77B #8FBB7B
monochromatic
#4B407C #6455A4 #877BBB #ACA3D0 #D0CCE5

Accessibility & contrast

On white

3.76
#877BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#877BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BBB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BBB#FFFFFF#000000##000000
##877BBB1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A85BE
Deuteranopia (green-blind)
#6B82B9
Tritanopia (blue-blind)
#7C8692
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #877bbb;
/* rgb */ color: rgb(135, 123, 187);
/* oklch */ color: oklch(61.9% 0.096 292.0);
Tailwind
colors: {
  custom: {
    50: '#aba1cf',
    500: '#877bbb',
    950: '#000000',
  },
}
SCSS
$custom: #877bbb;
$custom-light: #aba1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#877bbb",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 187
  },
  "hsl": {
    "h": 251.25,
    "s": 32,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61915,
    "c": 0.09587,
    "h": 292
  },
  "luminance": 0.22905
}

Semantic roles & 50–950 ramp

primary
#877BBB
secondary
#D0D5BD
accent
#AB3B96
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100F14
muted
#7F7E82

Preview Lab

Preview with #877BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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