#876DCD#876DCD

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

Color values

HEX#876DCD
RGBrgb(135, 109, 205)
HSLhsl(256, 49%, 62%)
HSVhsv(256, 47%, 80%)
CMYKcmyk(34.1%, 46.8%, 0%, 19.6%)
CIE-LABlab(52.39, 31.75, -46.33)
CIE-LCHlch(52.39, 56.16, 304.42°)
OKLaboklab(60.24% 0.0586 -0.1305)
OKLCHoklch(60.24% 0.143 294.2)
XYZxyz(26.4769, 20.4955, 60.3068)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876DCD #B3CD6D
analogous
#6D83CD #876DCD #B76DCD
triadic
#876DCD #CD876D #6DCD87
tetradic
#876DCD #CD6D83 #B3CD6D #6DCDB7
square
#876DCD #CD6D83 #B3CD6D #6DCDB7
split-complementary
#876DCD #CDB76D #83CD6D
monochromatic
#4A318F #6240BC #876DCD #AC9BDD #D2C8EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##876DCD#FFFFFF#000000##000000
##876DCD1.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)
#4C7ED0
Deuteranopia (green-blind)
#517BCB
Tritanopia (blue-blind)
#777F93
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #876dcd;
/* rgb */ color: rgb(135, 109, 205);
/* oklch */ color: oklch(60.2% 0.143 294.2);
Tailwind
colors: {
  custom: {
    50: '#ad97dd',
    500: '#876dcd',
    950: '#000000',
  },
}
SCSS
$custom: #876dcd;
$custom-light: #ad97dd;
$custom-dark: #000000;
JSON
{
  "hex": "#876dcd",
  "rgb": {
    "r": 135,
    "g": 109,
    "b": 205
  },
  "hsl": {
    "h": 256.25,
    "s": 48.98,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60244,
    "c": 0.14307,
    "h": 294.2
  },
  "luminance": 0.20496
}

Semantic roles & 50–950 ramp

primary
#876DCD
secondary
#D3DDB9
accent
#BC2994
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #876DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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