#876CF9#876CF9

#876CF9 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 62.9% C 0.202 H 288.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#876CF9
RGBrgb(135, 108, 249)
HSLhsl(251, 92%, 70%)
HSVhsv(251, 57%, 98%)
CMYKcmyk(45.8%, 56.6%, 0%, 2.4%)
CIE-LABlab(54.78, 44.38, -67.24)
CIE-LCHlch(54.78, 80.56, 303.43°)
OKLaboklab(62.86% 0.0623 -0.1919)
OKLCHoklch(62.86% 0.202 288)
XYZxyz(32.4482, 22.7143, 92.2788)
Luminance0.2272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876CF9 #DEF96C
analogous
#6C98F9 #876CF9 #CD6CF9
triadic
#876CF9 #F9876C #6CF987
tetradic
#876CF9 #F96C98 #DEF96C #6CF9CD
square
#876CF9 #F96C98 #DEF96C #6CF9CD
split-complementary
#876CF9 #F9CD6C #98F96C
monochromatic
#3309E1 #5731F7 #876CF9 #B7A7FB #E7E2FE

Accessibility & contrast

On white

3.79
#876CF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#876CF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876CF9
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876CF9#FFFFFF#000000##000000
##876CF91.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0286FE
Deuteranopia (green-blind)
#077FF6
Tritanopia (blue-blind)
#628CA8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #876cf9;
/* rgb */ color: rgb(135, 108, 249);
/* oklch */ color: oklch(62.9% 0.202 288.0);
Tailwind
colors: {
  custom: {
    50: '#b197fc',
    500: '#876cf9',
    950: '#000000',
  },
}
SCSS
$custom: #876cf9;
$custom-light: #b197fc;
$custom-dark: #000000;
JSON
{
  "hex": "#876cf9",
  "rgb": {
    "r": 135,
    "g": 108,
    "b": 249
  },
  "hsl": {
    "h": 251.489,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.62858,
    "c": 0.20174,
    "h": 288
  },
  "luminance": 0.22716
}

Semantic roles & 50–950 ramp

primary
#876CF9
secondary
#EDF4CD
accent
#E600BA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #876CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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