#887FA2#887FA2

#887FA2 is a mid, muted violet. Relative luminance 0.230; OKLCH L 61.7% C 0.053 H 296.6°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#887FA2
RGBrgb(136, 127, 162)
HSLhsl(255, 16%, 57%)
HSVhsv(255, 22%, 64%)
CMYKcmyk(16%, 21.6%, 0%, 36.5%)
CIE-LABlab(55.09, 10.74, -17.42)
CIE-LCHlch(55.09, 20.46, 301.66°)
OKLaboklab(61.7% 0.0238 -0.0475)
OKLCHoklch(61.7% 0.053 296.6)
XYZxyz(24.2629, 23.0215, 37.3408)
Luminance0.2302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887FA2 #99A27F
analogous
#7F88A2 #887FA2 #9A7FA2
triadic
#887FA2 #A2887F #7FA288
tetradic
#887FA2 #A27F88 #99A27F #7FA29A
square
#887FA2 #A27F88 #99A27F #7FA29A
split-complementary
#887FA2 #A29A7F #88A27F
monochromatic
#4D4660 #696084 #887FA2 #A9A2BC #CAC6D6

Accessibility & contrast

On white

3.75
#887FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#887FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887FA2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887FA2#FFFFFF#000000##000000
##887FA21.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7884A4
Deuteranopia (green-blind)
#7983A1
Tritanopia (blue-blind)
#83848B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #887fa2;
/* rgb */ color: rgb(136, 127, 162);
/* oklch */ color: oklch(61.7% 0.053 296.6);
Tailwind
colors: {
  custom: {
    50: '#aba4bd',
    500: '#887fa2',
    950: '#000000',
  },
}
SCSS
$custom: #887fa2;
$custom-light: #aba4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#887fa2",
  "rgb": {
    "r": 136,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 255.429,
    "s": 15.837,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61696,
    "c": 0.05311,
    "h": 296.6
  },
  "luminance": 0.23022
}

Semantic roles & 50–950 ramp

primary
#887FA2
secondary
#C2C6B7
accent
#B96FA6
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #887FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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