#876DF6#876DF6

#876DF6 is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.8% C 0.197 H 288.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#876DF6
RGBrgb(135, 109, 246)
HSLhsl(251, 88%, 70%)
HSVhsv(251, 56%, 96%)
CMYKcmyk(45.1%, 55.7%, 0%, 3.5%)
CIE-LABlab(54.80, 42.97, -65.53)
CIE-LCHlch(54.80, 78.36, 303.25°)
OKLaboklab(62.82% 0.0612 -0.1869)
OKLCHoklch(62.82% 0.197 288.1)
XYZxyz(32.0901, 22.7407, 89.8695)
Luminance0.2274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876DF6 #DCF66D
analogous
#6D98F6 #876DF6 #CC6DF6
triadic
#876DF6 #F6876D #6DF687
tetradic
#876DF6 #F66D98 #DCF66D #6DF6CC
square
#876DF6 #F66D98 #DCF66D #6DF6CC
split-complementary
#876DF6 #F6CC6D #98F66D
monochromatic
#350EDB #5833F2 #876DF6 #B6A7FA #E6E0FD

Accessibility & contrast

On white

3.78
#876DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#876DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876DF6
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876DF6#FFFFFF#000000##000000
##876DF61.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1886FB
Deuteranopia (green-blind)
#1A80F3
Tritanopia (blue-blind)
#648BA7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #876df6;
/* rgb */ color: rgb(135, 109, 246);
/* oklch */ color: oklch(62.8% 0.197 288.1);
Tailwind
colors: {
  custom: {
    50: '#b197fa',
    500: '#876df6',
    950: '#000000',
  },
}
SCSS
$custom: #876df6;
$custom-light: #b197fa;
$custom-dark: #000000;
JSON
{
  "hex": "#876df6",
  "rgb": {
    "r": 135,
    "g": 109,
    "b": 246
  },
  "hsl": {
    "h": 251.387,
    "s": 88.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.62817,
    "c": 0.19662,
    "h": 288.1
  },
  "luminance": 0.22742
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #876DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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