#887AA2#887AA2

#887AA2 is a mid, moderate violet. Relative luminance 0.218; OKLCH L 60.7% C 0.062 H 300.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#887AA2
RGBrgb(136, 122, 162)
HSLhsl(261, 18%, 56%)
HSVhsv(261, 25%, 64%)
CMYKcmyk(16%, 24.7%, 0%, 36.5%)
CIE-LABlab(53.77, 13.66, -19.43)
CIE-LCHlch(53.77, 23.75, 305.11°)
OKLaboklab(60.67% 0.0314 -0.0531)
OKLCHoklch(60.67% 0.062 300.6)
XYZxyz(23.6331, 21.7619, 37.1308)
Luminance0.2176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887AA2 #94A27A
analogous
#7A80A2 #887AA2 #9C7AA2
triadic
#887AA2 #A2887A #7AA288
tetradic
#887AA2 #A27A80 #94A27A #7AA29C
square
#887AA2 #A27A80 #94A27A #7AA29C
split-complementary
#887AA2 #A29C7A #80A27A
monochromatic
#4D425F #695C83 #887AA2 #A89EBB #C8C2D4

Accessibility & contrast

On white

3.92
#887AA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#887AA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887AA2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887AA2#FFFFFF#000000##000000
##887AA21.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7280A4
Deuteranopia (green-blind)
#7480A1
Tritanopia (blue-blind)
#848088
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #887aa2;
/* rgb */ color: rgb(136, 122, 162);
/* oklch */ color: oklch(60.7% 0.062 300.6);
Tailwind
colors: {
  custom: {
    50: '#aba0bd',
    500: '#887aa2',
    950: '#000000',
  },
}
SCSS
$custom: #887aa2;
$custom-light: #aba0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#887aa2",
  "rgb": {
    "r": 136,
    "g": 122,
    "b": 162
  },
  "hsl": {
    "h": 261,
    "s": 17.699,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60674,
    "c": 0.0617,
    "h": 300.6
  },
  "luminance": 0.21762
}

Semantic roles & 50–950 ramp

primary
#887AA2
secondary
#BEC4B4
accent
#BA6D9F
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #887AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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