#8871BB#8871BB

#8871BB is a mid, moderate violet. Relative luminance 0.206; OKLCH L 60.1% C 0.112 H 297.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8871BB
RGBrgb(136, 113, 187)
HSLhsl(259, 35%, 59%)
HSVhsv(259, 40%, 73%)
CMYKcmyk(27.3%, 39.6%, 0%, 26.7%)
CIE-LABlab(52.54, 25.02, -35.78)
CIE-LCHlch(52.54, 43.66, 304.97°)
OKLaboklab(60.08% 0.0513 -0.0998)
OKLCHoklch(60.08% 0.112 297.2)
XYZxyz(25.0260, 20.6321, 49.6680)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8871BB #A4BB71
analogous
#717FBB #8871BB #AD71BB
triadic
#8871BB #BB8871 #71BB88
tetradic
#8871BB #BB717F #A4BB71 #71BBAD
square
#8871BB #BB717F #A4BB71 #71BBAD
split-complementary
#8871BB #BBAD71 #7FBB71
monochromatic
#4D3A78 #674DA1 #8871BB #AB9ACF #CDC4E3

Accessibility & contrast

On white

4.10
#8871BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8871BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8871BB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8871BB#FFFFFF#000000##000000
##8871BB1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EBE
Deuteranopia (green-blind)
#617DB9
Tritanopia (blue-blind)
#7E7E8D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8871bb;
/* rgb */ color: rgb(136, 113, 187);
/* oklch */ color: oklch(60.1% 0.112 297.2);
Tailwind
colors: {
  custom: {
    50: '#ac9ad0',
    500: '#8871bb',
    950: '#000000',
  },
}
SCSS
$custom: #8871bb;
$custom-light: #ac9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8871bb",
  "rgb": {
    "r": 136,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 258.649,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60084,
    "c": 0.11224,
    "h": 297.2
  },
  "luminance": 0.20632
}

Semantic roles & 50–950 ramp

primary
#8871BB
secondary
#C9D2B5
accent
#CB5DA9
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8871BB

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

Preview Lab → · Contrast checker → · Palette generator →

#8871BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva