#876FBB#876FBB

#876FBB is a mid, moderate violet. Relative luminance 0.201; OKLCH L 59.6% C 0.115 H 297.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#876FBB
RGBrgb(135, 111, 187)
HSLhsl(259, 36%, 58%)
HSVhsv(259, 41%, 73%)
CMYKcmyk(27.8%, 40.6%, 0%, 26.7%)
CIE-LABlab(51.96, 25.91, -36.70)
CIE-LCHlch(51.96, 44.93, 305.21°)
OKLaboklab(59.62% 0.053 -0.1025)
OKLCHoklch(59.62% 0.115 297.3)
XYZxyz(24.6436, 20.1074, 49.5869)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876FBB #A3BB6F
analogous
#6F7DBB #876FBB #AD6FBB
triadic
#876FBB #BB876F #6FBB87
tetradic
#876FBB #BB6F7D #A3BB6F #6FBBAD
square
#876FBB #BB6F7D #A3BB6F #6FBBAD
split-complementary
#876FBB #BBAD6F #7DBB6F
monochromatic
#4C3877 #674CA1 #876FBB #AA99CF #CCC2E2

Accessibility & contrast

On white

4.18
#876FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#876FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876FBB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876FBB#FFFFFF#000000##000000
##876FBB1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7CBE
Deuteranopia (green-blind)
#5E7BB9
Tritanopia (blue-blind)
#7C7C8C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #876fbb;
/* rgb */ color: rgb(135, 111, 187);
/* oklch */ color: oklch(59.6% 0.115 297.3);
Tailwind
colors: {
  custom: {
    50: '#ac98d0',
    500: '#876fbb',
    950: '#000000',
  },
}
SCSS
$custom: #876fbb;
$custom-light: #ac98d0;
$custom-dark: #000000;
JSON
{
  "hex": "#876fbb",
  "rgb": {
    "r": 135,
    "g": 111,
    "b": 187
  },
  "hsl": {
    "h": 258.947,
    "s": 35.849,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59617,
    "c": 0.11539,
    "h": 297.3
  },
  "luminance": 0.20108
}

Semantic roles & 50–950 ramp

primary
#876FBB
secondary
#C8D2B4
accent
#CC5CA9
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #876FBB

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

Preview Lab → · Contrast checker → · Palette generator →

#876FBB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva