#876FF8#876FF8

#876FF8 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.3% C 0.196 H 287.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#876FF8
RGBrgb(135, 111, 248)
HSLhsl(251, 91%, 70%)
HSVhsv(251, 55%, 97%)
CMYKcmyk(45.6%, 55.2%, 0%, 2.7%)
CIE-LABlab(55.38, 42.39, -65.72)
CIE-LCHlch(55.38, 78.21, 302.83°)
OKLaboklab(63.28% 0.059 -0.1874)
OKLCHoklch(63.28% 0.196 287.5)
XYZxyz(32.6145, 23.2957, 91.5668)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876FF8 #E0F86F
analogous
#6F9BF8 #876FF8 #CB6FF8
triadic
#876FF8 #F8876F #6FF887
tetradic
#876FF8 #F86F9B #E0F86F #6FF8CB
square
#876FF8 #F86F9B #E0F86F #6FF8CB
split-complementary
#876FF8 #F8CB6F #9BF86F
monochromatic
#310BE2 #5635F5 #876FF8 #B8A9FB #E7E2FE

Accessibility & contrast

On white

3.71
#876FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#876FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876FF8
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876FF8#FFFFFF#000000##000000
##876FF81.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C88FD
Deuteranopia (green-blind)
#1C81F5
Tritanopia (blue-blind)
#638DA9
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #876ff8;
/* rgb */ color: rgb(135, 111, 248);
/* oklch */ color: oklch(63.3% 0.196 287.5);
Tailwind
colors: {
  custom: {
    50: '#b199fb',
    500: '#876ff8',
    950: '#000000',
  },
}
SCSS
$custom: #876ff8;
$custom-light: #b199fb;
$custom-dark: #000000;
JSON
{
  "hex": "#876ff8",
  "rgb": {
    "r": 135,
    "g": 111,
    "b": 248
  },
  "hsl": {
    "h": 250.511,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6328,
    "c": 0.19647,
    "h": 287.5
  },
  "luminance": 0.23297
}

Semantic roles & 50–950 ramp

primary
#876FF8
secondary
#EEF4CF
accent
#E600BD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #876FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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