#876EE2#876EE2

#876EE2 is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.7% C 0.169 H 290.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#876EE2
RGBrgb(135, 110, 226)
HSLhsl(253, 67%, 66%)
HSVhsv(253, 51%, 89%)
CMYKcmyk(40.3%, 51.3%, 0%, 11.4%)
CIE-LABlab(53.81, 36.84, -55.96)
CIE-LCHlch(53.81, 67.00, 303.36°)
OKLaboklab(61.68% 0.0593 -0.1587)
OKLCHoklch(61.68% 0.169 290.5)
XYZxyz(29.2913, 21.7929, 74.5999)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876EE2 #C9E26E
analogous
#6E8FE2 #876EE2 #C16EE2
triadic
#876EE2 #E2876E #6EE287
tetradic
#876EE2 #E26E8F #C9E26E #6EE2C1
square
#876EE2 #E26E8F #C9E26E #6EE2C1
split-complementary
#876EE2 #E2C16E #8FE26E
monochromatic
#4224B2 #5D3BD8 #876EE2 #B1A1EC #DBD4F6

Accessibility & contrast

On white

3.92
#876EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#876EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876EE2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876EE2#FFFFFF#000000##000000
##876EE21.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C83E6
Deuteranopia (green-blind)
#3F7EDF
Tritanopia (blue-blind)
#6E869E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #876ee2;
/* rgb */ color: rgb(135, 110, 226);
/* oklch */ color: oklch(61.7% 0.169 290.5);
Tailwind
colors: {
  custom: {
    50: '#af98ec',
    500: '#876ee2',
    950: '#000000',
  },
}
SCSS
$custom: #876ee2;
$custom-light: #af98ec;
$custom-dark: #000000;
JSON
{
  "hex": "#876ee2",
  "rgb": {
    "r": 135,
    "g": 110,
    "b": 226
  },
  "hsl": {
    "h": 252.931,
    "s": 66.667,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61684,
    "c": 0.16945,
    "h": 290.5
  },
  "luminance": 0.21794
}

Semantic roles & 50–950 ramp

primary
#876EE2
secondary
#E1E9C3
accent
#CF17A7
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #876EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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