#876DF7#876DF7

#876DF7 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.9% C 0.198 H 288.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#876DF7
RGBrgb(135, 109, 247)
HSLhsl(251, 90%, 70%)
HSVhsv(251, 56%, 97%)
CMYKcmyk(45.3%, 55.9%, 0%, 3.1%)
CIE-LABlab(54.87, 43.25, -65.98)
CIE-LCHlch(54.87, 78.89, 303.24°)
OKLaboklab(62.88% 0.0612 -0.1882)
OKLCHoklch(62.88% 0.198 288)
XYZxyz(32.2440, 22.8023, 90.6800)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876DF7 #DDF76D
analogous
#6D98F7 #876DF7 #CC6DF7
triadic
#876DF7 #F7876D #6DF787
tetradic
#876DF7 #F76D98 #DDF76D #6DF7CC
square
#876DF7 #F76D98 #DDF76D #6DF7CC
split-complementary
#876DF7 #F7CC6D #98F76D
monochromatic
#340CDD #5733F4 #876DF7 #B7A7FA #E6E1FD

Accessibility & contrast

On white

3.78
#876DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#876DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876DF7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876DF7#FFFFFF#000000##000000
##876DF71.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1586FC
Deuteranopia (green-blind)
#1780F4
Tritanopia (blue-blind)
#648CA8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #876df7;
/* rgb */ color: rgb(135, 109, 247);
/* oklch */ color: oklch(62.9% 0.198 288.0);
Tailwind
colors: {
  custom: {
    50: '#b197fb',
    500: '#876df7',
    950: '#000000',
  },
}
SCSS
$custom: #876df7;
$custom-light: #b197fb;
$custom-dark: #000000;
JSON
{
  "hex": "#876df7",
  "rgb": {
    "r": 135,
    "g": 109,
    "b": 247
  },
  "hsl": {
    "h": 251.304,
    "s": 89.61,
    "l": 69.804
  },
  "oklch": {
    "l": 0.62884,
    "c": 0.19789,
    "h": 288
  },
  "luminance": 0.22804
}

Semantic roles & 50–950 ramp

primary
#876DF7
secondary
#ECF3CC
accent
#E600BA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #876DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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