#876BF6#876BF6

#876BF6 is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.5% C 0.199 H 288.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#876BF6
RGBrgb(135, 107, 246)
HSLhsl(252, 89%, 69%)
HSVhsv(252, 57%, 96%)
CMYKcmyk(45.1%, 56.5%, 0%, 3.5%)
CIE-LABlab(54.36, 44.11, -66.24)
CIE-LCHlch(54.36, 79.58, 303.66°)
OKLaboklab(62.49% 0.0634 -0.189)
OKLCHoklch(62.49% 0.199 288.5)
XYZxyz(31.8792, 22.3189, 89.7992)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876BF6 #DAF66B
analogous
#6B95F6 #876BF6 #CC6BF6
triadic
#876BF6 #F6876B #6BF687
tetradic
#876BF6 #F66B95 #DAF66B #6BF6CC
square
#876BF6 #F66B95 #DAF66B #6BF6CC
split-complementary
#876BF6 #F6CC6B #95F66B
monochromatic
#360DD9 #5831F2 #876BF6 #B6A5FA #E5DEFD

Accessibility & contrast

On white

3.84
#876BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#876BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876BF6
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876BF6#FFFFFF#000000##000000
##876BF61.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0985FB
Deuteranopia (green-blind)
#117FF3
Tritanopia (blue-blind)
#648AA6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #876bf6;
/* rgb */ color: rgb(135, 107, 246);
/* oklch */ color: oklch(62.5% 0.199 288.5);
Tailwind
colors: {
  custom: {
    50: '#b196fa',
    500: '#876bf6',
    950: '#000000',
  },
}
SCSS
$custom: #876bf6;
$custom-light: #b196fa;
$custom-dark: #000000;
JSON
{
  "hex": "#876bf6",
  "rgb": {
    "r": 135,
    "g": 107,
    "b": 246
  },
  "hsl": {
    "h": 252.086,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.62492,
    "c": 0.19931,
    "h": 288.5
  },
  "luminance": 0.2232
}

Semantic roles & 50–950 ramp

primary
#876BF6
secondary
#EAF3CA
accent
#E500B7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #876BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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