#876CDB#876CDB

#876CDB is a mid, vivid violet. Relative luminance 0.210; OKLCH L 60.9% C 0.163 H 292.0°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#876CDB
RGBrgb(135, 108, 219)
HSLhsl(255, 61%, 64%)
HSVhsv(255, 51%, 86%)
CMYKcmyk(38.4%, 50.7%, 0%, 14.1%)
CIE-LABlab(52.94, 36.09, -53.40)
CIE-LCHlch(52.94, 64.45, 304.05°)
OKLaboklab(60.91% 0.0613 -0.1512)
OKLCHoklch(60.91% 0.163 292)
XYZxyz(28.1370, 20.9898, 69.5731)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876CDB #C0DB6C
analogous
#6C89DB #876CDB #BF6CDB
triadic
#876CDB #DB876C #6CDB87
tetradic
#876CDB #DB6C89 #C0DB6C #6CDBBF
square
#876CDB #DB6C89 #C0DB6C #6CDBBF
split-complementary
#876CDB #DBBF6C #89DB6C
monochromatic
#4628A4 #5F3BCF #876CDB #AF9DE7 #D7CEF3

Accessibility & contrast

On white

4.04
#876CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#876CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876CDB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876CDB#FFFFFF#000000##000000
##876CDB1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F80DF
Deuteranopia (green-blind)
#437CD8
Tritanopia (blue-blind)
#718399
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #876cdb;
/* rgb */ color: rgb(135, 108, 219);
/* oklch */ color: oklch(60.9% 0.163 292.0);
Tailwind
colors: {
  custom: {
    50: '#ae96e7',
    500: '#876cdb',
    950: '#000000',
  },
}
SCSS
$custom: #876cdb;
$custom-light: #ae96e7;
$custom-dark: #000000;
JSON
{
  "hex": "#876cdb",
  "rgb": {
    "r": 135,
    "g": 108,
    "b": 219
  },
  "hsl": {
    "h": 254.595,
    "s": 60.656,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60905,
    "c": 0.16318,
    "h": 292
  },
  "luminance": 0.2099
}

Semantic roles & 50–950 ramp

primary
#876CDB
secondary
#DBE5BE
accent
#C81D9F
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #876CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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