#877BB4#877BB4

#877BB4 is a mid, moderate violet. Relative luminance 0.226; OKLCH L 61.6% C 0.086 H 293.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#877BB4
RGBrgb(135, 123, 180)
HSLhsl(253, 28%, 59%)
HSVhsv(253, 32%, 71%)
CMYKcmyk(25%, 31.7%, 0%, 29.4%)
CIE-LABlab(54.67, 17.07, -28.45)
CIE-LCHlch(54.67, 33.17, 300.97°)
OKLaboklab(61.58% 0.034 -0.0787)
OKLCHoklch(61.58% 0.086 293.4)
XYZxyz(25.3109, 22.6118, 46.2022)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BB4 #A8B47B
analogous
#7B8CB4 #877BB4 #A47BB4
triadic
#877BB4 #B4877B #7BB487
tetradic
#877BB4 #B47B8C #A8B47B #7BB4A4
square
#877BB4 #B47B8C #A8B47B #7BB4A4
split-complementary
#877BB4 #B4A47B #8CB47B
monochromatic
#4C4173 #66589A #877BB4 #AAA2CA #CEC9E0

Accessibility & contrast

On white

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

On black

5.52
#877BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BB4
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BB4#FFFFFF#000000##000000
##877BB41.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D83B6
Deuteranopia (green-blind)
#6E82B2
Tritanopia (blue-blind)
#7E8590
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #877bb4;
/* rgb */ color: rgb(135, 123, 180);
/* oklch */ color: oklch(61.6% 0.086 293.4);
Tailwind
colors: {
  custom: {
    50: '#aba1ca',
    500: '#877bb4',
    950: '#000000',
  },
}
SCSS
$custom: #877bb4;
$custom-light: #aba1ca;
$custom-dark: #000000;
JSON
{
  "hex": "#877bb4",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 180
  },
  "hsl": {
    "h": 252.632,
    "s": 27.536,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61583,
    "c": 0.08578,
    "h": 293.4
  },
  "luminance": 0.22612
}

Semantic roles & 50–950 ramp

primary
#877BB4
secondary
#CCD1BA
accent
#C464B0
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100F13
muted
#7F7E82

Preview Lab

Preview with #877BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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