#876EF8#876EF8

#876EF8 is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.1% C 0.198 H 287.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#876EF8
RGBrgb(135, 110, 248)
HSLhsl(251, 91%, 70%)
HSVhsv(251, 56%, 97%)
CMYKcmyk(45.6%, 55.6%, 0%, 2.7%)
CIE-LABlab(55.15, 42.96, -66.08)
CIE-LCHlch(55.15, 78.82, 303.03°)
OKLaboklab(63.12% 0.0601 -0.1885)
OKLCHoklch(63.12% 0.198 287.7)
XYZxyz(32.5060, 23.0787, 91.5306)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876EF8 #DFF86E
analogous
#6E9AF8 #876EF8 #CC6EF8
triadic
#876EF8 #F8876E #6EF887
tetradic
#876EF8 #F86E9A #DFF86E #6EF8CC
square
#876EF8 #F86E9A #DFF86E #6EF8CC
split-complementary
#876EF8 #F8CC6E #9AF86E
monochromatic
#320BE1 #5734F5 #876EF8 #B7A8FB #E7E2FE

Accessibility & contrast

On white

3.74
#876EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#876EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876EF8
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876EF8#FFFFFF#000000##000000
##876EF81.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1787FD
Deuteranopia (green-blind)
#1880F5
Tritanopia (blue-blind)
#638DA9
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #876ef8;
/* rgb */ color: rgb(135, 110, 248);
/* oklch */ color: oklch(63.1% 0.198 287.7);
Tailwind
colors: {
  custom: {
    50: '#b198fb',
    500: '#876ef8',
    950: '#000000',
  },
}
SCSS
$custom: #876ef8;
$custom-light: #b198fb;
$custom-dark: #000000;
JSON
{
  "hex": "#876ef8",
  "rgb": {
    "r": 135,
    "g": 110,
    "b": 248
  },
  "hsl": {
    "h": 250.87,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.63115,
    "c": 0.19781,
    "h": 287.7
  },
  "luminance": 0.2308
}

Semantic roles & 50–950 ramp

primary
#876EF8
secondary
#EDF4CE
accent
#E600BC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #876EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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