#876CD1#876CD1

#876CD1 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.3% C 0.150 H 293.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#876CD1
RGBrgb(135, 108, 209)
HSLhsl(256, 52%, 62%)
HSVhsv(256, 48%, 82%)
CMYKcmyk(35.4%, 48.3%, 0%, 18%)
CIE-LABlab(52.37, 33.40, -48.63)
CIE-LCHlch(52.37, 59.00, 304.48°)
OKLaboklab(60.3% 0.0604 -0.1373)
OKLCHoklch(60.3% 0.15 293.7)
XYZxyz(26.8599, 20.4789, 62.8469)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876CD1 #B6D16C
analogous
#6C83D1 #876CD1 #BA6CD1
triadic
#876CD1 #D1876C #6CD187
tetradic
#876CD1 #D16C83 #B6D16C #6CD1BA
square
#876CD1 #D16C83 #B6D16C #6CD1BA
split-complementary
#876CD1 #D1BA6C #83D16C
monochromatic
#4A2E94 #613DC2 #876CD1 #AD9BE0 #D3C9EE

Accessibility & contrast

On white

4.12
#876CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#876CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876CD1
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876CD1#FFFFFF#000000##000000
##876CD11.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#487ED5
Deuteranopia (green-blind)
#4C7BCF
Tritanopia (blue-blind)
#758095
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #876cd1;
/* rgb */ color: rgb(135, 108, 209);
/* oklch */ color: oklch(60.3% 0.150 293.7);
Tailwind
colors: {
  custom: {
    50: '#ad96df',
    500: '#876cd1',
    950: '#000000',
  },
}
SCSS
$custom: #876cd1;
$custom-light: #ad96df;
$custom-dark: #000000;
JSON
{
  "hex": "#876cd1",
  "rgb": {
    "r": 135,
    "g": 108,
    "b": 209
  },
  "hsl": {
    "h": 256.04,
    "s": 52.332,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60301,
    "c": 0.14996,
    "h": 293.7
  },
  "luminance": 0.20479
}

Semantic roles & 50–950 ramp

primary
#876CD1
secondary
#D5DFBA
accent
#C02697
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #876CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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