#876FE2#876FE2

#876FE2 is a mid, vivid violet. Relative luminance 0.220; OKLCH L 61.9% C 0.168 H 290.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#876FE2
RGBrgb(135, 111, 226)
HSLhsl(253, 66%, 66%)
HSVhsv(253, 51%, 89%)
CMYKcmyk(40.3%, 50.9%, 0%, 11.4%)
CIE-LABlab(54.04, 36.26, -55.59)
CIE-LCHlch(54.04, 66.37, 303.12°)
OKLaboklab(61.86% 0.0581 -0.1577)
OKLCHoklch(61.86% 0.168 290.2)
XYZxyz(29.3998, 22.0099, 74.6361)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876FE2 #CAE26F
analogous
#6F90E2 #876FE2 #C06FE2
triadic
#876FE2 #E2876F #6FE287
tetradic
#876FE2 #E26F90 #CAE26F #6FE2C0
square
#876FE2 #E26F90 #CAE26F #6FE2C0
split-complementary
#876FE2 #E2C06F #90E26F
monochromatic
#4224B3 #5D3CD8 #876FE2 #B1A2EC #DCD5F7

Accessibility & contrast

On white

3.89
#876FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#876FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876FE2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876FE2#FFFFFF#000000##000000
##876FE21.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E83E6
Deuteranopia (green-blind)
#417FDF
Tritanopia (blue-blind)
#6E879E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #876fe2;
/* rgb */ color: rgb(135, 111, 226);
/* oklch */ color: oklch(61.9% 0.168 290.2);
Tailwind
colors: {
  custom: {
    50: '#ae99ec',
    500: '#876fe2',
    950: '#000000',
  },
}
SCSS
$custom: #876fe2;
$custom-light: #ae99ec;
$custom-dark: #000000;
JSON
{
  "hex": "#876fe2",
  "rgb": {
    "r": 135,
    "g": 111,
    "b": 226
  },
  "hsl": {
    "h": 252.522,
    "s": 66.474,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61856,
    "c": 0.16801,
    "h": 290.2
  },
  "luminance": 0.22011
}

Semantic roles & 50–950 ramp

primary
#876FE2
secondary
#E1E9C4
accent
#CE17A8
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #876FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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