#876CF7#876CF7

#876CF7 is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.7% C 0.199 H 288.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#876CF7
RGBrgb(135, 108, 247)
HSLhsl(252, 90%, 70%)
HSVhsv(252, 56%, 97%)
CMYKcmyk(45.3%, 56.3%, 0%, 3.1%)
CIE-LABlab(54.65, 43.82, -66.34)
CIE-LCHlch(54.65, 79.50, 303.45°)
OKLaboklab(62.72% 0.0623 -0.1892)
OKLCHoklch(62.72% 0.199 288.2)
XYZxyz(32.1379, 22.5901, 90.6446)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876CF7 #DCF76C
analogous
#6C96F7 #876CF7 #CD6CF7
triadic
#876CF7 #F7876C #6CF787
tetradic
#876CF7 #F76C96 #DCF76C #6CF7CD
square
#876CF7 #F76C96 #DCF76C #6CF7CD
split-complementary
#876CF7 #F7CD6C #96F76C
monochromatic
#350CDD #5832F4 #876CF7 #B6A6FA #E6E0FD

Accessibility & contrast

On white

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

On black

5.52
#876CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876CF7
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876CF7#FFFFFF#000000##000000
##876CF71.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D86FC
Deuteranopia (green-blind)
#127FF4
Tritanopia (blue-blind)
#648BA7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #876cf7;
/* rgb */ color: rgb(135, 108, 247);
/* oklch */ color: oklch(62.7% 0.199 288.2);
Tailwind
colors: {
  custom: {
    50: '#b197fb',
    500: '#876cf7',
    950: '#000000',
  },
}
SCSS
$custom: #876cf7;
$custom-light: #b197fb;
$custom-dark: #000000;
JSON
{
  "hex": "#876cf7",
  "rgb": {
    "r": 135,
    "g": 108,
    "b": 247
  },
  "hsl": {
    "h": 251.655,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.62721,
    "c": 0.19923,
    "h": 288.2
  },
  "luminance": 0.22591
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #876CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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