#887AAA#887AAA

#887AAA is a mid, moderate violet. Relative luminance 0.221; OKLCH L 61.0% C 0.073 H 297.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#887AAA
RGBrgb(136, 122, 170)
HSLhsl(258, 22%, 57%)
HSVhsv(258, 28%, 67%)
CMYKcmyk(20%, 28.2%, 0%, 33.3%)
CIE-LABlab(54.09, 15.54, -23.58)
CIE-LCHlch(54.09, 28.24, 303.38°)
OKLaboklab(61.02% 0.0339 -0.0648)
OKLCHoklch(61.02% 0.073 297.6)
XYZxyz(24.3670, 22.0554, 40.9958)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887AAA #9CAA7A
analogous
#7A84AA #887AAA #A07AAA
triadic
#887AAA #AA887A #7AAA88
tetradic
#887AAA #AA7A84 #9CAA7A #7AAAA0
square
#887AAA #AA7A84 #9CAA7A #7AAAA0
split-complementary
#887AAA #AAA07A #84AA7A
monochromatic
#4D4267 #695A8D #887AAA #A99FC2 #CBC5DA

Accessibility & contrast

On white

3.88
#887AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#887AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887AAA
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887AAA#FFFFFF#000000##000000
##887AAA1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F81AC
Deuteranopia (green-blind)
#7181A9
Tritanopia (blue-blind)
#82818B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #887aaa;
/* rgb */ color: rgb(136, 122, 170);
/* oklch */ color: oklch(61.0% 0.073 297.6);
Tailwind
colors: {
  custom: {
    50: '#aba0c3',
    500: '#887aaa',
    950: '#000000',
  },
}
SCSS
$custom: #887aaa;
$custom-light: #aba0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#887aaa",
  "rgb": {
    "r": 136,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 257.5,
    "s": 22.018,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61018,
    "c": 0.07316,
    "h": 297.6
  },
  "luminance": 0.22056
}

Semantic roles & 50–950 ramp

primary
#887AAA
secondary
#C4CAB6
accent
#BF69A6
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #887AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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