#876BFE#876BFE

#876BFE is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.0% C 0.209 H 287.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#876BFE
RGBrgb(135, 107, 254)
HSLhsl(251, 99%, 71%)
HSVhsv(251, 58%, 100%)
CMYKcmyk(46.9%, 57.9%, 0%, 0.4%)
CIE-LABlab(54.89, 46.35, -69.83)
CIE-LCHlch(54.89, 83.81, 303.57°)
OKLaboklab(63.04% 0.0632 -0.1995)
OKLCHoklch(63.04% 0.209 287.6)
XYZxyz(33.1336, 22.8206, 96.4057)
Luminance0.2282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876BFE #E2FE6B
analogous
#6B98FE #876BFE #D16BFE
triadic
#876BFE #FE876B #6BFE87
tetradic
#876BFE #FE6B98 #E2FE6B #6BFED1
square
#876BFE #FE6B98 #E2FE6B #6BFED1
split-complementary
#876BFE #FED16B #98FE6B
monochromatic
#2E02ED #562EFE #876BFE #B8A8FE #E6E1FF

Accessibility & contrast

On white

3.77
#876BFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##876BFE#FFFFFF#000000##000000
##876BFE1.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#007FFB
Tritanopia (blue-blind)
#608CAA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #876bfe;
/* rgb */ color: rgb(135, 107, 254);
/* oklch */ color: oklch(63.0% 0.209 287.6);
Tailwind
colors: {
  custom: {
    50: '#b296ff',
    500: '#876bfe',
    950: '#000000',
  },
}
SCSS
$custom: #876bfe;
$custom-light: #b296ff;
$custom-dark: #000000;
JSON
{
  "hex": "#876bfe",
  "rgb": {
    "r": 135,
    "g": 107,
    "b": 254
  },
  "hsl": {
    "h": 251.429,
    "s": 98.658,
    "l": 70.784
  },
  "oklch": {
    "l": 0.63043,
    "c": 0.2093,
    "h": 287.6
  },
  "luminance": 0.22822
}

Semantic roles & 50–950 ramp

primary
#876BFE
secondary
#EFF6CF
accent
#E600BA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #876BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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