#877AC0#877AC0

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

Color values

HEX#877AC0
RGBrgb(135, 122, 192)
HSLhsl(251, 36%, 62%)
HSVhsv(251, 36%, 75%)
CMYKcmyk(29.7%, 36.5%, 0%, 24.7%)
CIE-LABlab(54.94, 20.70, -34.89)
CIE-LCHlch(54.94, 40.57, 300.68°)
OKLaboklab(61.97% 0.0385 -0.0973)
OKLCHoklch(61.97% 0.105 291.6)
XYZxyz(26.4632, 22.8753, 52.8801)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877AC0 #B3C07A
analogous
#7A90C0 #877AC0 #AA7AC0
triadic
#877AC0 #C0877A #7AC087
tetradic
#877AC0 #C07A90 #B3C07A #7AC0AA
square
#877AC0 #C07A90 #B3C07A #7AC0AA
split-complementary
#877AC0 #C0AA7A #90C07A
monochromatic
#4A3E82 #6251AC #877AC0 #ACA4D4 #D2CDE7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877AC0#FFFFFF#000000##000000
##877AC01.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6685C3
Deuteranopia (green-blind)
#6782BE
Tritanopia (blue-blind)
#7A8694
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #877ac0;
/* rgb */ color: rgb(135, 122, 192);
/* oklch */ color: oklch(62.0% 0.105 291.6);
Tailwind
colors: {
  custom: {
    50: '#aba0d3',
    500: '#877ac0',
    950: '#000000',
  },
}
SCSS
$custom: #877ac0;
$custom-light: #aba0d3;
$custom-dark: #000000;
JSON
{
  "hex": "#877ac0",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 192
  },
  "hsl": {
    "h": 251.143,
    "s": 35.714,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61966,
    "c": 0.10461,
    "h": 291.6
  },
  "luminance": 0.22876
}

Semantic roles & 50–950 ramp

primary
#877AC0
secondary
#D3D8BE
accent
#AF3798
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100E14
muted
#7F7E83

Preview Lab

Preview with #877AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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