#876FF7#876FF7

#876FF7 is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.2% C 0.195 H 287.6°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#876FF7
RGBrgb(135, 111, 247)
HSLhsl(251, 89%, 70%)
HSVhsv(251, 55%, 97%)
CMYKcmyk(45.3%, 55.1%, 0%, 3.1%)
CIE-LABlab(55.31, 42.11, -65.27)
CIE-LCHlch(55.31, 77.67, 302.83°)
OKLaboklab(63.21% 0.0589 -0.1861)
OKLCHoklch(63.21% 0.195 287.6)
XYZxyz(32.4598, 23.2339, 90.7519)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876FF7 #DFF76F
analogous
#6F9BF7 #876FF7 #CB6FF7
triadic
#876FF7 #F7876F #6FF787
tetradic
#876FF7 #F76F9B #DFF76F #6FF7CB
square
#876FF7 #F76F9B #DFF76F #6FF7CB
split-complementary
#876FF7 #F7CB6F #9BF76F
monochromatic
#320CDF #5735F4 #876FF7 #B7A9FA #E7E2FD

Accessibility & contrast

On white

3.72
#876FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#876FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876FF7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876FF7#FFFFFF#000000##000000
##876FF71.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F88FC
Deuteranopia (green-blind)
#1F81F4
Tritanopia (blue-blind)
#638DA8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #876ff7;
/* rgb */ color: rgb(135, 111, 247);
/* oklch */ color: oklch(63.2% 0.195 287.6);
Tailwind
colors: {
  custom: {
    50: '#b199fb',
    500: '#876ff7',
    950: '#000000',
  },
}
SCSS
$custom: #876ff7;
$custom-light: #b199fb;
$custom-dark: #000000;
JSON
{
  "hex": "#876ff7",
  "rgb": {
    "r": 135,
    "g": 111,
    "b": 247
  },
  "hsl": {
    "h": 250.588,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.63213,
    "c": 0.1952,
    "h": 287.6
  },
  "luminance": 0.23235
}

Semantic roles & 50–950 ramp

primary
#876FF7
secondary
#EDF4CE
accent
#E600BD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #876FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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