#876BE7#876BE7

#876BE7 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.5% C 0.180 H 290.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#876BE7
RGBrgb(135, 107, 231)
HSLhsl(254, 72%, 66%)
HSVhsv(254, 54%, 91%)
CMYKcmyk(41.6%, 53.7%, 0%, 9.4%)
CIE-LABlab(53.42, 39.94, -59.38)
CIE-LCHlch(53.42, 71.57, 303.93°)
OKLaboklab(61.49% 0.0631 -0.1688)
OKLCHoklch(61.49% 0.18 290.5)
XYZxyz(29.6692, 21.4349, 78.1599)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876BE7 #CBE76B
analogous
#6B8DE7 #876BE7 #C56BE7
triadic
#876BE7 #E7876B #6BE787
tetradic
#876BE7 #E76B8D #CBE76B #6BE7C5
square
#876BE7 #E76B8D #CBE76B #6BE7C5
split-complementary
#876BE7 #E7C56B #8DE76B
monochromatic
#411EBA #5C36DE #876BE7 #B2A0F0 #DCD4F8

Accessibility & contrast

On white

3.97
#876BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#876BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876BE7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876BE7#FFFFFF#000000##000000
##876BE71.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F82EB
Deuteranopia (green-blind)
#337DE4
Tritanopia (blue-blind)
#6C859F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #876be7;
/* rgb */ color: rgb(135, 107, 231);
/* oklch */ color: oklch(61.5% 0.180 290.5);
Tailwind
colors: {
  custom: {
    50: '#af96ef',
    500: '#876be7',
    950: '#000000',
  },
}
SCSS
$custom: #876be7;
$custom-light: #af96ef;
$custom-dark: #000000;
JSON
{
  "hex": "#876be7",
  "rgb": {
    "r": 135,
    "g": 107,
    "b": 231
  },
  "hsl": {
    "h": 253.548,
    "s": 72.093,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61494,
    "c": 0.18023,
    "h": 290.5
  },
  "luminance": 0.21436
}

Semantic roles & 50–950 ramp

primary
#876BE7
secondary
#E2EBC3
accent
#D411A8
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #876BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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