#887BA2#887BA2

#887BA2 is a mid, muted violet. Relative luminance 0.220; OKLCH L 60.9% C 0.060 H 299.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#887BA2
RGBrgb(136, 123, 162)
HSLhsl(260, 17%, 56%)
HSVhsv(260, 24%, 64%)
CMYKcmyk(16%, 24.1%, 0%, 36.5%)
CIE-LABlab(54.04, 13.08, -19.03)
CIE-LCHlch(54.04, 23.09, 304.50°)
OKLaboklab(60.88% 0.0299 -0.052)
OKLCHoklch(60.88% 0.06 299.9)
XYZxyz(23.7565, 22.0087, 37.1720)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887BA2 #95A27B
analogous
#7B81A2 #887BA2 #9B7BA2
triadic
#887BA2 #A2887B #7BA288
tetradic
#887BA2 #A27B81 #95A27B #7BA29B
square
#887BA2 #A27B81 #95A27B #7BA29B
split-complementary
#887BA2 #A29B7B #81A27B
monochromatic
#4D435F #695D83 #887BA2 #A89FBB #C9C3D5

Accessibility & contrast

On white

3.89
#887BA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#887BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887BA2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887BA2#FFFFFF#000000##000000
##887BA21.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7381A4
Deuteranopia (green-blind)
#7581A1
Tritanopia (blue-blind)
#848188
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #887ba2;
/* rgb */ color: rgb(136, 123, 162);
/* oklch */ color: oklch(60.9% 0.060 299.9);
Tailwind
colors: {
  custom: {
    50: '#aba1bd',
    500: '#887ba2',
    950: '#000000',
  },
}
SCSS
$custom: #887ba2;
$custom-light: #aba1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#887ba2",
  "rgb": {
    "r": 136,
    "g": 123,
    "b": 162
  },
  "hsl": {
    "h": 260,
    "s": 17.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60877,
    "c": 0.05996,
    "h": 299.9
  },
  "luminance": 0.22009
}

Semantic roles & 50–950 ramp

primary
#887BA2
secondary
#BFC4B4
accent
#BA6EA1
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100F12
muted
#7F7E81

Preview Lab

Preview with #887BA2

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

Preview Lab → · Contrast checker → · Palette generator →

#887BA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva