#887EA2#887EA2

#887EA2 is a mid, muted violet. Relative luminance 0.228; OKLCH L 61.5% C 0.055 H 297.5°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#887EA2
RGBrgb(136, 126, 162)
HSLhsl(257, 16%, 56%)
HSVhsv(257, 22%, 64%)
CMYKcmyk(16%, 22.2%, 0%, 36.5%)
CIE-LABlab(54.83, 11.32, -17.82)
CIE-LCHlch(54.83, 21.11, 302.43°)
OKLaboklab(61.49% 0.0253 -0.0486)
OKLCHoklch(61.49% 0.055 297.5)
XYZxyz(24.1344, 22.7645, 37.2979)
Luminance0.2276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887EA2 #98A27E
analogous
#7E86A2 #887EA2 #9A7EA2
triadic
#887EA2 #A2887E #7EA288
tetradic
#887EA2 #A27E86 #98A27E #7EA29A
square
#887EA2 #A27E86 #98A27E #7EA29A
split-complementary
#887EA2 #A29A7E #86A27E
monochromatic
#4D4560 #695F84 #887EA2 #A9A2BC #CAC5D5

Accessibility & contrast

On white

3.78
#887EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#887EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887EA2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887EA2#FFFFFF#000000##000000
##887EA21.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7783A4
Deuteranopia (green-blind)
#7883A1
Tritanopia (blue-blind)
#83838A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #887ea2;
/* rgb */ color: rgb(136, 126, 162);
/* oklch */ color: oklch(61.5% 0.055 297.5);
Tailwind
colors: {
  custom: {
    50: '#aba3bd',
    500: '#887ea2',
    950: '#000000',
  },
}
SCSS
$custom: #887ea2;
$custom-light: #aba3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#887ea2",
  "rgb": {
    "r": 136,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 256.667,
    "s": 16.216,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61491,
    "c": 0.05481,
    "h": 297.5
  },
  "luminance": 0.22765
}

Semantic roles & 50–950 ramp

primary
#887EA2
secondary
#C1C5B7
accent
#B96FA4
background
#FAFAFB
surface
#F4F3F6
border
#CECDD0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #887EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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