#876EDA#876EDA

#876EDA is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.2% C 0.159 H 291.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#876EDA
RGBrgb(135, 110, 218)
HSLhsl(254, 59%, 64%)
HSVhsv(254, 50%, 85%)
CMYKcmyk(38.1%, 49.5%, 0%, 14.5%)
CIE-LABlab(53.35, 34.65, -52.19)
CIE-LCHlch(53.35, 62.65, 303.59°)
OKLaboklab(61.19% 0.0587 -0.1477)
OKLCHoklch(61.19% 0.159 291.7)
XYZxyz(28.2191, 21.3640, 68.9529)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876EDA #C1DA6E
analogous
#6E8BDA #876EDA #BD6EDA
triadic
#876EDA #DA876E #6EDA87
tetradic
#876EDA #DA6E8B #C1DA6E #6EDABD
square
#876EDA #DA6E8B #C1DA6E #6EDABD
split-complementary
#876EDA #DABD6E #8BDA6E
monochromatic
#462AA4 #5F3DCE #876EDA #AF9FE6 #D8D0F3

Accessibility & contrast

On white

3.98
#876EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#876EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876EDA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876EDA#FFFFFF#000000##000000
##876EDA1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4481DE
Deuteranopia (green-blind)
#477DD8
Tritanopia (blue-blind)
#72849A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #876eda;
/* rgb */ color: rgb(135, 110, 218);
/* oklch */ color: oklch(61.2% 0.159 291.7);
Tailwind
colors: {
  custom: {
    50: '#ae98e6',
    500: '#876eda',
    950: '#000000',
  },
}
SCSS
$custom: #876eda;
$custom-light: #ae98e6;
$custom-dark: #000000;
JSON
{
  "hex": "#876eda",
  "rgb": {
    "r": 135,
    "g": 110,
    "b": 218
  },
  "hsl": {
    "h": 253.889,
    "s": 59.341,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61191,
    "c": 0.1589,
    "h": 291.7
  },
  "luminance": 0.21365
}

Semantic roles & 50–950 ramp

primary
#876EDA
secondary
#DCE5BF
accent
#C71FA0
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #876EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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