#876CFE#876CFE

#876CFE is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.2% C 0.208 H 287.4°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#876CFE
RGBrgb(135, 108, 254)
HSLhsl(251, 99%, 71%)
HSVhsv(251, 57%, 100%)
CMYKcmyk(46.9%, 57.5%, 0%, 0.4%)
CIE-LABlab(55.10, 45.79, -69.48)
CIE-LCHlch(55.10, 83.21, 303.38°)
OKLaboklab(63.2% 0.0622 -0.1985)
OKLCHoklch(63.2% 0.208 287.4)
XYZxyz(33.2384, 23.0303, 96.4407)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876CFE #E3FE6C
analogous
#6C9AFE #876CFE #D06CFE
triadic
#876CFE #FE876C #6CFE87
tetradic
#876CFE #FE6C9A #E3FE6C #6CFED0
square
#876CFE #FE6C9A #E3FE6C #6CFED0
split-complementary
#876CFE #FED06C #9AFE6C
monochromatic
#2D02EE #552FFE #876CFE #B9A9FE #E6E1FF

Accessibility & contrast

On white

3.75
#876CFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#876CFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876CFE
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876CFE#FFFFFF#000000##000000
##876CFE1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#0080FB
Tritanopia (blue-blind)
#5F8DAB
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #876cfe;
/* rgb */ color: rgb(135, 108, 254);
/* oklch */ color: oklch(63.2% 0.208 287.4);
Tailwind
colors: {
  custom: {
    50: '#b197ff',
    500: '#876cfe',
    950: '#000000',
  },
}
SCSS
$custom: #876cfe;
$custom-light: #b197ff;
$custom-dark: #000000;
JSON
{
  "hex": "#876cfe",
  "rgb": {
    "r": 135,
    "g": 108,
    "b": 254
  },
  "hsl": {
    "h": 251.096,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.63202,
    "c": 0.208,
    "h": 287.4
  },
  "luminance": 0.23032
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #876CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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