#876AEE#876AEE

#876AEE is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.8% C 0.191 H 289.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#876AEE
RGBrgb(135, 106, 238)
HSLhsl(253, 80%, 67%)
HSVhsv(253, 55%, 93%)
CMYKcmyk(43.3%, 55.5%, 0%, 6.7%)
CIE-LABlab(53.63, 42.45, -62.96)
CIE-LCHlch(53.63, 75.93, 303.99°)
OKLaboklab(61.79% 0.0644 -0.1793)
OKLCHoklch(61.79% 0.191 289.8)
XYZxyz(30.5740, 21.6310, 83.4366)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876AEE #D1EE6A
analogous
#6A8FEE #876AEE #C96AEE
triadic
#876AEE #EE876A #6AEE87
tetradic
#876AEE #EE6A8F #D1EE6A #6AEEC9
square
#876AEE #EE6A8F #D1EE6A #6AEEC9
split-complementary
#876AEE #EEC96A #8FEE6A
monochromatic
#3D17C7 #5B33E8 #876AEE #B3A1F4 #DFD8FB

Accessibility & contrast

On white

3.94
#876AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#876AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876AEE
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876AEE#FFFFFF#000000##000000
##876AEE1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F83F2
Deuteranopia (green-blind)
#257DEB
Tritanopia (blue-blind)
#6987A2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #876aee;
/* rgb */ color: rgb(135, 106, 238);
/* oklch */ color: oklch(61.8% 0.191 289.8);
Tailwind
colors: {
  custom: {
    50: '#b095f4',
    500: '#876aee',
    950: '#000000',
  },
}
SCSS
$custom: #876aee;
$custom-light: #b095f4;
$custom-dark: #000000;
JSON
{
  "hex": "#876aee",
  "rgb": {
    "r": 135,
    "g": 106,
    "b": 238
  },
  "hsl": {
    "h": 253.182,
    "s": 79.518,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6179,
    "c": 0.19056,
    "h": 289.8
  },
  "luminance": 0.21632
}

Semantic roles & 50–950 ramp

primary
#876AEE
secondary
#E5EFC5
accent
#DC0AAE
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #876AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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