#876CF6#876CF6

#876CF6 is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.7% C 0.198 H 288.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#876CF6
RGBrgb(135, 108, 246)
HSLhsl(252, 88%, 69%)
HSVhsv(252, 56%, 96%)
CMYKcmyk(45.1%, 56.1%, 0%, 3.5%)
CIE-LABlab(54.58, 43.54, -65.89)
CIE-LCHlch(54.58, 78.97, 303.46°)
OKLaboklab(62.65% 0.0623 -0.1879)
OKLCHoklch(62.65% 0.198 288.3)
XYZxyz(31.9840, 22.5286, 89.8341)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876CF6 #DBF66C
analogous
#6C96F6 #876CF6 #CC6CF6
triadic
#876CF6 #F6876C #6CF687
tetradic
#876CF6 #F66C96 #DBF66C #6CF6CC
square
#876CF6 #F66C96 #DBF66C #6CF6CC
split-complementary
#876CF6 #F6CC6C #96F66C
monochromatic
#350DDA #5832F2 #876CF6 #B6A6FA #E5DFFD

Accessibility & contrast

On white

3.81
#876CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#876CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876CF6
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876CF6#FFFFFF#000000##000000
##876CF61.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1286FB
Deuteranopia (green-blind)
#167FF3
Tritanopia (blue-blind)
#648BA7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #876cf6;
/* rgb */ color: rgb(135, 108, 246);
/* oklch */ color: oklch(62.7% 0.198 288.3);
Tailwind
colors: {
  custom: {
    50: '#b197fa',
    500: '#876cf6',
    950: '#000000',
  },
}
SCSS
$custom: #876cf6;
$custom-light: #b197fa;
$custom-dark: #000000;
JSON
{
  "hex": "#876cf6",
  "rgb": {
    "r": 135,
    "g": 108,
    "b": 246
  },
  "hsl": {
    "h": 251.739,
    "s": 88.462,
    "l": 69.412
  },
  "oklch": {
    "l": 0.62654,
    "c": 0.19796,
    "h": 288.3
  },
  "luminance": 0.2253
}

Semantic roles & 50–950 ramp

primary
#876CF6
secondary
#EBF3CB
accent
#E500B8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #876CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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