#877BAD#877BAD

#877BAD is a mid, moderate violet. Relative luminance 0.223; OKLCH L 61.3% C 0.076 H 295.1°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#877BAD
RGBrgb(135, 123, 173)
HSLhsl(254, 23%, 58%)
HSVhsv(254, 29%, 68%)
CMYKcmyk(22%, 28.9%, 0%, 32.2%)
CIE-LABlab(54.38, 15.35, -24.87)
CIE-LCHlch(54.38, 29.22, 301.69°)
OKLaboklab(61.26% 0.0321 -0.0685)
OKLCHoklch(61.26% 0.076 295.1)
XYZxyz(24.6157, 22.3337, 42.5410)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BAD #A1AD7B
analogous
#7B88AD #877BAD #A07BAD
triadic
#877BAD #AD877B #7BAD87
tetradic
#877BAD #AD7B88 #A1AD7B #7BADA0
square
#877BAD #AD7B88 #A1AD7B #7BADA0
split-complementary
#877BAD #ADA07B #88AD7B
monochromatic
#4C436B #675A91 #877BAD #A9A1C4 #CCC6DC

Accessibility & contrast

On white

3.84
#877BAD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#877BAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BAD
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BAD#FFFFFF#000000##000000
##877BAD1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F82AF
Deuteranopia (green-blind)
#7181AC
Tritanopia (blue-blind)
#80838D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #877bad;
/* rgb */ color: rgb(135, 123, 173);
/* oklch */ color: oklch(61.3% 0.076 295.1);
Tailwind
colors: {
  custom: {
    50: '#aaa1c5',
    500: '#877bad',
    950: '#000000',
  },
}
SCSS
$custom: #877bad;
$custom-light: #aaa1c5;
$custom-dark: #000000;
JSON
{
  "hex": "#877bad",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 173
  },
  "hsl": {
    "h": 254.4,
    "s": 23.364,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61263,
    "c": 0.07567,
    "h": 295.1
  },
  "luminance": 0.22334
}

Semantic roles & 50–950 ramp

primary
#877BAD
secondary
#C7CCB8
accent
#C068AB
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100F13
muted
#7F7E82

Preview Lab

Preview with #877BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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