#876BDD#876BDD

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

Color values

HEX#876BDD
RGBrgb(135, 107, 221)
HSLhsl(255, 63%, 64%)
HSVhsv(255, 52%, 87%)
CMYKcmyk(38.9%, 51.6%, 0%, 13.3%)
CIE-LABlab(52.82, 37.21, -54.71)
CIE-LCHlch(52.82, 66.17, 304.22°)
OKLaboklab(60.86% 0.0626 -0.1551)
OKLCHoklch(60.86% 0.167 292)
XYZxyz(28.2970, 20.8860, 70.9331)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876BDD #C1DD6B
analogous
#6B88DD #876BDD #C06BDD
triadic
#876BDD #DD876B #6BDD87
tetradic
#876BDD #DD6B88 #C1DD6B #6BDDC0
square
#876BDD #DD6B88 #C1DD6B #6BDDC0
split-complementary
#876BDD #DDC06B #88DD6B
monochromatic
#4626A7 #5F39D2 #876BDD #AF9DE8 #D8CFF4

Accessibility & contrast

On white

4.06
#876BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#876BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876BDD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876BDD#FFFFFF#000000##000000
##876BDD1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B80E1
Deuteranopia (green-blind)
#407CDA
Tritanopia (blue-blind)
#71829A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #876bdd;
/* rgb */ color: rgb(135, 107, 221);
/* oklch */ color: oklch(60.9% 0.167 292.0);
Tailwind
colors: {
  custom: {
    50: '#ae96e8',
    500: '#876bdd',
    950: '#000000',
  },
}
SCSS
$custom: #876bdd;
$custom-light: #ae96e8;
$custom-dark: #000000;
JSON
{
  "hex": "#876bdd",
  "rgb": {
    "r": 135,
    "g": 107,
    "b": 221
  },
  "hsl": {
    "h": 254.737,
    "s": 62.637,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60858,
    "c": 0.16727,
    "h": 292
  },
  "luminance": 0.20887
}

Semantic roles & 50–950 ramp

primary
#876BDD
secondary
#DCE6BE
accent
#CA1B9F
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #876BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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