#887EA4#887EA4

#887EA4 is a mid, muted violet. Relative luminance 0.228; OKLCH L 61.6% C 0.058 H 296.7°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#887EA4
RGBrgb(136, 126, 164)
HSLhsl(256, 17%, 57%)
HSVhsv(256, 23%, 64%)
CMYKcmyk(17.1%, 23.2%, 0%, 35.7%)
CIE-LABlab(54.90, 11.78, -18.86)
CIE-LCHlch(54.90, 22.24, 301.99°)
OKLaboklab(61.57% 0.026 -0.0515)
OKLCHoklch(61.57% 0.058 296.7)
XYZxyz(24.3136, 22.8362, 38.2417)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887EA4 #9AA47E
analogous
#7E87A4 #887EA4 #9B7EA4
triadic
#887EA4 #A4887E #7EA488
tetradic
#887EA4 #A47E87 #9AA47E #7EA49B
square
#887EA4 #A47E87 #9AA47E #7EA49B
split-complementary
#887EA4 #A49B7E #87A47E
monochromatic
#4D4562 #695F86 #887EA4 #A9A2BD #CAC6D7

Accessibility & contrast

On white

3.77
#887EA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#887EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887EA4
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887EA4#FFFFFF#000000##000000
##887EA41.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7684A6
Deuteranopia (green-blind)
#7783A3
Tritanopia (blue-blind)
#83848B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #887ea4;
/* rgb */ color: rgb(136, 126, 164);
/* oklch */ color: oklch(61.6% 0.058 296.7);
Tailwind
colors: {
  custom: {
    50: '#aba3bf',
    500: '#887ea4',
    950: '#000000',
  },
}
SCSS
$custom: #887ea4;
$custom-light: #aba3bf;
$custom-dark: #000000;
JSON
{
  "hex": "#887ea4",
  "rgb": {
    "r": 136,
    "g": 126,
    "b": 164
  },
  "hsl": {
    "h": 255.789,
    "s": 17.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61573,
    "c": 0.05771,
    "h": 296.7
  },
  "luminance": 0.22836
}

Semantic roles & 50–950 ramp

primary
#887EA4
secondary
#C3C7B7
accent
#BA6EA6
background
#FAFAFB
surface
#F4F3F7
border
#CECDD0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #887EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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