#887EA7#887EA7

#887EA7 is a mid, moderate violet. Relative luminance 0.229; OKLCH L 61.7% C 0.062 H 295.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#887EA7
RGBrgb(136, 126, 167)
HSLhsl(255, 19%, 57%)
HSVhsv(255, 25%, 65%)
CMYKcmyk(18.6%, 24.6%, 0%, 34.5%)
CIE-LABlab(55.02, 12.48, -20.42)
CIE-LCHlch(55.02, 23.93, 301.44°)
OKLaboklab(61.7% 0.0269 -0.0559)
OKLCHoklch(61.7% 0.062 295.7)
XYZxyz(24.5877, 22.9458, 39.6853)
Luminance0.2295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887EA7 #9DA77E
analogous
#7E89A7 #887EA7 #9C7EA7
triadic
#887EA7 #A7887E #7EA788
tetradic
#887EA7 #A77E89 #9DA77E #7EA79C
square
#887EA7 #A77E89 #9DA77E #7EA79C
split-complementary
#887EA7 #A79C7E #89A77E
monochromatic
#4D4565 #695E8A #887EA7 #AAA2C0 #CBC7D9

Accessibility & contrast

On white

3.76
#887EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#887EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887EA7
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887EA7#FFFFFF#000000##000000
##887EA71.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7584A9
Deuteranopia (green-blind)
#7683A6
Tritanopia (blue-blind)
#82848C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #887ea7;
/* rgb */ color: rgb(136, 126, 167);
/* oklch */ color: oklch(61.7% 0.062 295.7);
Tailwind
colors: {
  custom: {
    50: '#aba3c1',
    500: '#887ea7',
    950: '#000000',
  },
}
SCSS
$custom: #887ea7;
$custom-light: #aba3c1;
$custom-dark: #000000;
JSON
{
  "hex": "#887ea7",
  "rgb": {
    "r": 136,
    "g": 126,
    "b": 167
  },
  "hsl": {
    "h": 254.634,
    "s": 18.894,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61698,
    "c": 0.06208,
    "h": 295.7
  },
  "luminance": 0.22946
}

Semantic roles & 50–950 ramp

primary
#887EA7
secondary
#C5C9B8
accent
#BC6CA8
background
#FAFAFB
surface
#F4F3F7
border
#CECDD0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #887EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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