#876ECA#876ECA

#876ECA is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.3% C 0.137 H 294.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#876ECA
RGBrgb(135, 110, 202)
HSLhsl(256, 46%, 61%)
HSVhsv(256, 46%, 79%)
CMYKcmyk(33.2%, 45.5%, 0%, 20.8%)
CIE-LABlab(52.47, 30.37, -44.49)
CIE-LCHlch(52.47, 53.87, 304.32°)
OKLaboklab(60.25% 0.0568 -0.1252)
OKLCHoklch(60.25% 0.137 294.4)
XYZxyz(26.2256, 20.5666, 58.4537)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876ECA #B1CA6E
analogous
#6E83CA #876ECA #B56ECA
triadic
#876ECA #CA876E #6ECA87
tetradic
#876ECA #CA6E83 #B1CA6E #6ECAB5
square
#876ECA #CA6E83 #B1CA6E #6ECAB5
split-complementary
#876ECA #CAB56E #83CA6E
monochromatic
#4B338B #6343B8 #876ECA #AC9BDA #D1C8EB

Accessibility & contrast

On white

4.11
#876ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#876ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876ECA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876ECA#FFFFFF#000000##000000
##876ECA1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#507ECD
Deuteranopia (green-blind)
#547CC8
Tritanopia (blue-blind)
#787F92
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #876eca;
/* rgb */ color: rgb(135, 110, 202);
/* oklch */ color: oklch(60.3% 0.137 294.4);
Tailwind
colors: {
  custom: {
    50: '#ad98da',
    500: '#876eca',
    950: '#000000',
  },
}
SCSS
$custom: #876eca;
$custom-light: #ad98da;
$custom-dark: #000000;
JSON
{
  "hex": "#876eca",
  "rgb": {
    "r": 135,
    "g": 110,
    "b": 202
  },
  "hsl": {
    "h": 256.304,
    "s": 46.465,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60252,
    "c": 0.13747,
    "h": 294.4
  },
  "luminance": 0.20567
}

Semantic roles & 50–950 ramp

primary
#876ECA
secondary
#D2DBB9
accent
#BA2C93
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #876ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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