#876DEC#876DEC

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

Color values

HEX#876DEC
RGBrgb(135, 109, 236)
HSLhsl(252, 77%, 68%)
HSVhsv(252, 54%, 93%)
CMYKcmyk(42.8%, 53.8%, 0%, 7.5%)
CIE-LABlab(54.18, 40.18, -60.97)
CIE-LCHlch(54.18, 73.02, 303.39°)
OKLaboklab(62.15% 0.061 -0.1734)
OKLCHoklch(62.15% 0.184 289.4)
XYZxyz(30.5964, 22.1432, 82.0026)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876DEC #D2EC6D
analogous
#6D93EC #876DEC #C66DEC
triadic
#876DEC #EC876D #6DEC87
tetradic
#876DEC #EC6D93 #D2EC6D #6DECC6
square
#876DEC #EC6D93 #D2EC6D #6DECC6
split-complementary
#876DEC #ECC66D #93EC6D
monochromatic
#3D1AC5 #5A37E5 #876DEC #B4A3F3 #E0D9FA

Accessibility & contrast

On white

3.87
#876DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#876DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876DEC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876DEC#FFFFFF#000000##000000
##876DEC1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D84F0
Deuteranopia (green-blind)
#307FE9
Tritanopia (blue-blind)
#6988A2
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #876dec;
/* rgb */ color: rgb(135, 109, 236);
/* oklch */ color: oklch(62.2% 0.184 289.4);
Tailwind
colors: {
  custom: {
    50: '#b097f3',
    500: '#876dec',
    950: '#000000',
  },
}
SCSS
$custom: #876dec;
$custom-light: #b097f3;
$custom-dark: #000000;
JSON
{
  "hex": "#876dec",
  "rgb": {
    "r": 135,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 252.283,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.62153,
    "c": 0.18385,
    "h": 289.4
  },
  "luminance": 0.22144
}

Semantic roles & 50–950 ramp

primary
#876DEC
secondary
#E6EEC7
accent
#D90CAF
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #876DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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