#876EEA#876EEA

#876EEA is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.2% C 0.180 H 289.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#876EEA
RGBrgb(135, 110, 234)
HSLhsl(252, 75%, 67%)
HSVhsv(252, 53%, 92%)
CMYKcmyk(42.3%, 53%, 0%, 8.2%)
CIE-LABlab(54.28, 39.05, -59.68)
CIE-LCHlch(54.28, 71.32, 303.20°)
OKLaboklab(62.19% 0.0597 -0.1697)
OKLCHoklch(62.19% 0.18 289.4)
XYZxyz(30.4147, 22.2422, 80.5166)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876EEA #D1EA6E
analogous
#6E93EA #876EEA #C56EEA
triadic
#876EEA #EA876E #6EEA87
tetradic
#876EEA #EA6E93 #D1EA6E #6EEAC5
square
#876EEA #EA6E93 #D1EA6E #6EEAC5
split-complementary
#876EEA #EAC56E #93EA6E
monochromatic
#3D1CC2 #5B39E2 #876EEA #B3A3F2 #DFD9F9

Accessibility & contrast

On white

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

On black

5.45
#876EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876EEA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876EEA#FFFFFF#000000##000000
##876EEA1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3284EE
Deuteranopia (green-blind)
#357FE7
Tritanopia (blue-blind)
#6A88A2
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #876eea;
/* rgb */ color: rgb(135, 110, 234);
/* oklch */ color: oklch(62.2% 0.180 289.4);
Tailwind
colors: {
  custom: {
    50: '#af98f1',
    500: '#876eea',
    950: '#000000',
  },
}
SCSS
$custom: #876eea;
$custom-light: #af98f1;
$custom-dark: #000000;
JSON
{
  "hex": "#876eea",
  "rgb": {
    "r": 135,
    "g": 110,
    "b": 234
  },
  "hsl": {
    "h": 252.097,
    "s": 74.699,
    "l": 67.451
  },
  "oklch": {
    "l": 0.62192,
    "c": 0.17987,
    "h": 289.4
  },
  "luminance": 0.22243
}

Semantic roles & 50–950 ramp

primary
#876EEA
secondary
#E5EDC7
accent
#D70FAE
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #876EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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