#887FAC#887FAC

#887FAC is a light, moderate violet. Relative luminance 0.234; OKLCH L 62.1% C 0.068 H 293.5°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#887FAC
RGBrgb(136, 127, 172)
HSLhsl(252, 21%, 59%)
HSVhsv(252, 26%, 67%)
CMYKcmyk(20.9%, 26.2%, 0%, 32.5%)
CIE-LABlab(55.47, 13.08, -22.60)
CIE-LCHlch(55.47, 26.11, 300.07°)
OKLaboklab(62.11% 0.027 -0.0621)
OKLCHoklch(62.11% 0.068 293.5)
XYZxyz(25.1874, 23.3913, 42.2097)
Luminance0.2339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887FAC #A3AC7F
analogous
#7F8CAC #887FAC #9E7FAC
triadic
#887FAC #AC887F #7FAC88
tetradic
#887FAC #AC7F8C #A3AC7F #7FAC9E
square
#887FAC #AC7F8C #A3AC7F #7FAC9E
split-complementary
#887FAC #AC9E7F #8CAC7F
monochromatic
#4D456B #685E90 #887FAC #ABA4C4 #CDC9DC

Accessibility & contrast

On white

3.70
#887FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#887FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887FAC
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887FAC#FFFFFF#000000##000000
##887FAC1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7585AE
Deuteranopia (green-blind)
#7584AB
Tritanopia (blue-blind)
#81868F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #887fac;
/* rgb */ color: rgb(136, 127, 172);
/* oklch */ color: oklch(62.1% 0.068 293.5);
Tailwind
colors: {
  custom: {
    50: '#aba4c4',
    500: '#887fac',
    950: '#000000',
  },
}
SCSS
$custom: #887fac;
$custom-light: #aba4c4;
$custom-dark: #000000;
JSON
{
  "hex": "#887fac",
  "rgb": {
    "r": 136,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 252,
    "s": 21.327,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62114,
    "c": 0.06772,
    "h": 293.5
  },
  "luminance": 0.23392
}

Semantic roles & 50–950 ramp

primary
#887FAC
secondary
#C9CCBB
accent
#BE6AAD
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #887FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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