#876EEB#876EEB

#876EEB is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.3% C 0.181 H 289.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#876EEB
RGBrgb(135, 110, 235)
HSLhsl(252, 76%, 68%)
HSVhsv(252, 53%, 92%)
CMYKcmyk(42.6%, 53.2%, 0%, 7.8%)
CIE-LABlab(54.34, 39.33, -60.14)
CIE-LCHlch(54.34, 71.86, 303.18°)
OKLaboklab(62.26% 0.0598 -0.171)
OKLCHoklch(62.26% 0.181 289.3)
XYZxyz(30.5588, 22.2999, 81.2753)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876EEB #D2EB6E
analogous
#6E93EB #876EEB #C66EEB
triadic
#876EEB #EB876E #6EEB87
tetradic
#876EEB #EB6E93 #D2EB6E #6EEBC6
square
#876EEB #EB6E93 #D2EB6E #6EEBC6
split-complementary
#876EEB #EBC66E #93EB6E
monochromatic
#3D1BC4 #5A38E4 #876EEB #B4A4F2 #E0DAFA

Accessibility & contrast

On white

3.85
#876EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#876EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876EEB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876EEB#FFFFFF#000000##000000
##876EEB1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3185EF
Deuteranopia (green-blind)
#347FE8
Tritanopia (blue-blind)
#6A89A2
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #876eeb;
/* rgb */ color: rgb(135, 110, 235);
/* oklch */ color: oklch(62.3% 0.181 289.3);
Tailwind
colors: {
  custom: {
    50: '#af98f2',
    500: '#876eeb',
    950: '#000000',
  },
}
SCSS
$custom: #876eeb;
$custom-light: #af98f2;
$custom-dark: #000000;
JSON
{
  "hex": "#876eeb",
  "rgb": {
    "r": 135,
    "g": 110,
    "b": 235
  },
  "hsl": {
    "h": 252,
    "s": 75.758,
    "l": 67.647
  },
  "oklch": {
    "l": 0.62256,
    "c": 0.18117,
    "h": 289.3
  },
  "luminance": 0.22301
}

Semantic roles & 50–950 ramp

primary
#876EEB
secondary
#E6EEC7
accent
#D80EAF
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #876EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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