#887BB2#887BB2

#887BB2 is a mid, moderate violet. Relative luminance 0.226; OKLCH L 61.6% C 0.083 H 294.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#887BB2
RGBrgb(136, 123, 178)
HSLhsl(254, 26%, 59%)
HSVhsv(254, 31%, 70%)
CMYKcmyk(23.6%, 30.9%, 0%, 30.2%)
CIE-LABlab(54.67, 16.89, -27.29)
CIE-LCHlch(54.67, 32.09, 301.75°)
OKLaboklab(61.58% 0.0347 -0.0754)
OKLCHoklch(61.58% 0.083 294.7)
XYZxyz(25.2703, 22.6142, 45.1445)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887BB2 #A5B27B
analogous
#7B8AB2 #887BB2 #A47BB2
triadic
#887BB2 #B2887B #7BB288
tetradic
#887BB2 #B27B8A #A5B27B #7BB2A4
square
#887BB2 #B27B8A #A5B27B #7BB2A4
split-complementary
#887BB2 #B2A47B #8AB27B
monochromatic
#4D4271 #675897 #887BB2 #ABA2C9 #CEC8DF

Accessibility & contrast

On white

3.80
#887BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#887BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887BB2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887BB2#FFFFFF#000000##000000
##887BB21.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E83B4
Deuteranopia (green-blind)
#6F82B1
Tritanopia (blue-blind)
#80848F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #887bb2;
/* rgb */ color: rgb(136, 123, 178);
/* oklch */ color: oklch(61.6% 0.083 294.7);
Tailwind
colors: {
  custom: {
    50: '#aba1c9',
    500: '#887bb2',
    950: '#000000',
  },
}
SCSS
$custom: #887bb2;
$custom-light: #aba1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#887bb2",
  "rgb": {
    "r": 136,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 254.182,
    "s": 26.316,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61578,
    "c": 0.083,
    "h": 294.7
  },
  "luminance": 0.22615
}

Semantic roles & 50–950 ramp

primary
#887BB2
secondary
#CACFBA
accent
#C365AD
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100F13
muted
#7F7E82

Preview Lab

Preview with #887BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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