#876EDD#876EDD

#876EDD is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.4% C 0.163 H 291.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#876EDD
RGBrgb(135, 110, 221)
HSLhsl(254, 62%, 65%)
HSVhsv(254, 50%, 87%)
CMYKcmyk(38.9%, 50.2%, 0%, 13.3%)
CIE-LABlab(53.52, 35.47, -53.61)
CIE-LCHlch(53.52, 64.28, 303.49°)
OKLaboklab(61.37% 0.0589 -0.1518)
OKLCHoklch(61.37% 0.163 291.2)
XYZxyz(28.6152, 21.5224, 71.0392)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876EDD #C4DD6E
analogous
#6E8CDD #876EDD #BF6EDD
triadic
#876EDD #DD876E #6EDD87
tetradic
#876EDD #DD6E8C #C4DD6E #6EDDBF
square
#876EDD #DD6E8C #C4DD6E #6EDDBF
split-complementary
#876EDD #DDBF6E #8CDD6E
monochromatic
#4528A9 #5E3CD1 #876EDD #B0A0E9 #D9D1F4

Accessibility & contrast

On white

3.96
#876EDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#876EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876EDD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876EDD#FFFFFF#000000##000000
##876EDD1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4182E1
Deuteranopia (green-blind)
#447EDA
Tritanopia (blue-blind)
#70859B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #876edd;
/* rgb */ color: rgb(135, 110, 221);
/* oklch */ color: oklch(61.4% 0.163 291.2);
Tailwind
colors: {
  custom: {
    50: '#ae98e8',
    500: '#876edd',
    950: '#000000',
  },
}
SCSS
$custom: #876edd;
$custom-light: #ae98e8;
$custom-dark: #000000;
JSON
{
  "hex": "#876edd",
  "rgb": {
    "r": 135,
    "g": 110,
    "b": 221
  },
  "hsl": {
    "h": 253.514,
    "s": 62.011,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61374,
    "c": 0.16287,
    "h": 291.2
  },
  "luminance": 0.21523
}

Semantic roles & 50–950 ramp

primary
#876EDD
secondary
#DEE6C0
accent
#CA1CA3
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #876EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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