#876BD2#876BD2

#876BD2 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.2% C 0.153 H 293.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#876BD2
RGBrgb(135, 107, 210)
HSLhsl(256, 53%, 62%)
HSVhsv(256, 49%, 82%)
CMYKcmyk(35.7%, 49%, 0%, 17.6%)
CIE-LABlab(52.20, 34.25, -49.49)
CIE-LCHlch(52.20, 60.18, 304.68°)
OKLaboklab(60.19% 0.0618 -0.1398)
OKLCHoklch(60.19% 0.153 293.8)
XYZxyz(26.8792, 20.3189, 63.4660)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876BD2 #B6D26B
analogous
#6B82D2 #876BD2 #BB6BD2
triadic
#876BD2 #D2876B #6BD287
tetradic
#876BD2 #D26B82 #B6D26B #6BD2BB
square
#876BD2 #D26B82 #B6D26B #6BD2BB
split-complementary
#876BD2 #D2BB6B #82D26B
monochromatic
#4A2D95 #613CC4 #876BD2 #AD9AE0 #D3C9EF

Accessibility & contrast

On white

4.15
#876BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#876BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876BD2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876BD2#FFFFFF#000000##000000
##876BD21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ED6
Deuteranopia (green-blind)
#4A7BD0
Tritanopia (blue-blind)
#757F95
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #876bd2;
/* rgb */ color: rgb(135, 107, 210);
/* oklch */ color: oklch(60.2% 0.153 293.8);
Tailwind
colors: {
  custom: {
    50: '#ad96e0',
    500: '#876bd2',
    950: '#000000',
  },
}
SCSS
$custom: #876bd2;
$custom-light: #ad96e0;
$custom-dark: #000000;
JSON
{
  "hex": "#876bd2",
  "rgb": {
    "r": 135,
    "g": 107,
    "b": 210
  },
  "hsl": {
    "h": 256.311,
    "s": 53.368,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60186,
    "c": 0.15281,
    "h": 293.8
  },
  "luminance": 0.20319
}

Semantic roles & 50–950 ramp

primary
#876BD2
secondary
#D5DFB9
accent
#C12596
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #876BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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