#877BBA#877BBA

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

Color values

HEX#877BBA
RGBrgb(135, 123, 186)
HSLhsl(251, 31%, 61%)
HSVhsv(251, 34%, 73%)
CMYKcmyk(27.4%, 33.9%, 0%, 27.1%)
CIE-LABlab(54.93, 18.58, -31.48)
CIE-LCHlch(54.93, 36.55, 300.54°)
OKLaboklab(61.87% 0.0356 -0.0875)
OKLCHoklch(61.87% 0.094 292.1)
XYZxyz(25.9354, 22.8616, 49.4912)
Luminance0.2286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BBA #AEBA7B
analogous
#7B8EBA #877BBA #A67BBA
triadic
#877BBA #BA877B #7BBA87
tetradic
#877BBA #BA7B8E #AEBA7B #7BBAA6
square
#877BBA #BA7B8E #AEBA7B #7BBAA6
split-complementary
#877BBA #BAA67B #8EBA7B
monochromatic
#4B407B #6455A3 #877BBA #ACA3CF #D0CBE4

Accessibility & contrast

On white

3.77
#877BBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#877BBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BBA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BBA#FFFFFF#000000##000000
##877BBA1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A84BD
Deuteranopia (green-blind)
#6B82B8
Tritanopia (blue-blind)
#7C8692
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #877bba;
/* rgb */ color: rgb(135, 123, 186);
/* oklch */ color: oklch(61.9% 0.094 292.1);
Tailwind
colors: {
  custom: {
    50: '#aba1cf',
    500: '#877bba',
    950: '#000000',
  },
}
SCSS
$custom: #877bba;
$custom-light: #aba1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#877bba",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 186
  },
  "hsl": {
    "h": 251.429,
    "s": 31.343,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61867,
    "c": 0.09443,
    "h": 292.1
  },
  "luminance": 0.22862
}

Semantic roles & 50–950 ramp

primary
#877BBA
secondary
#D0D4BC
accent
#AA3B95
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100F13
muted
#7F7E82

Preview Lab

Preview with #877BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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