#876AEF#876AEF

#876AEF is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.9% C 0.192 H 289.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#876AEF
RGBrgb(135, 106, 239)
HSLhsl(253, 81%, 68%)
HSVhsv(253, 56%, 94%)
CMYKcmyk(43.5%, 55.6%, 0%, 6.3%)
CIE-LABlab(53.70, 42.72, -63.42)
CIE-LCHlch(53.70, 76.47, 303.97°)
OKLaboklab(61.86% 0.0645 -0.1807)
OKLCHoklch(61.86% 0.192 289.6)
XYZxyz(30.7213, 21.6899, 84.2125)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876AEF #D2EF6A
analogous
#6A8FEF #876AEF #CA6AEF
triadic
#876AEF #EF876A #6AEF87
tetradic
#876AEF #EF6A8F #D2EF6A #6AEFCA
square
#876AEF #EF6A8F #D2EF6A #6AEFCA
split-complementary
#876AEF #EFCA6A #8FEF6A
monochromatic
#3D16C9 #5A33E9 #876AEF #B4A1F5 #E0D9FB

Accessibility & contrast

On white

3.93
#876AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#876AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876AEF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876AEF#FFFFFF#000000##000000
##876AEF1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C83F3
Deuteranopia (green-blind)
#227DEC
Tritanopia (blue-blind)
#6887A2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #876aef;
/* rgb */ color: rgb(135, 106, 239);
/* oklch */ color: oklch(61.9% 0.192 289.6);
Tailwind
colors: {
  custom: {
    50: '#b095f5',
    500: '#876aef',
    950: '#000000',
  },
}
SCSS
$custom: #876aef;
$custom-light: #b095f5;
$custom-dark: #000000;
JSON
{
  "hex": "#876aef",
  "rgb": {
    "r": 135,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 253.083,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61856,
    "c": 0.19182,
    "h": 289.6
  },
  "luminance": 0.21691
}

Semantic roles & 50–950 ramp

primary
#876AEF
secondary
#E6EFC6
accent
#DD09AF
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #876AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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