#876FEB#876FEB

#876FEB is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.4% C 0.180 H 289.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#876FEB
RGBrgb(135, 111, 235)
HSLhsl(252, 76%, 68%)
HSVhsv(252, 53%, 92%)
CMYKcmyk(42.6%, 52.8%, 0%, 7.8%)
CIE-LABlab(54.57, 38.75, -59.78)
CIE-LCHlch(54.57, 71.24, 302.95°)
OKLaboklab(62.43% 0.0586 -0.1699)
OKLCHoklch(62.43% 0.18 289)
XYZxyz(30.6673, 22.5169, 81.3115)
Luminance0.2252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876FEB #D3EB6F
analogous
#6F95EB #876FEB #C56FEB
triadic
#876FEB #EB876F #6FEB87
tetradic
#876FEB #EB6F95 #D3EB6F #6FEBC5
square
#876FEB #EB6F95 #D3EB6F #6FEBC5
split-complementary
#876FEB #EBC56F #95EB6F
monochromatic
#3C1BC4 #5A39E4 #876FEB #B4A5F2 #E1DAFA

Accessibility & contrast

On white

3.82
#876FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#876FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876FEB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876FEB#FFFFFF#000000##000000
##876FEB1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EF
Deuteranopia (green-blind)
#3680E8
Tritanopia (blue-blind)
#6A89A2
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #876feb;
/* rgb */ color: rgb(135, 111, 235);
/* oklch */ color: oklch(62.4% 0.180 289.0);
Tailwind
colors: {
  custom: {
    50: '#af99f2',
    500: '#876feb',
    950: '#000000',
  },
}
SCSS
$custom: #876feb;
$custom-light: #af99f2;
$custom-dark: #000000;
JSON
{
  "hex": "#876feb",
  "rgb": {
    "r": 135,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 251.613,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.62425,
    "c": 0.17976,
    "h": 289
  },
  "luminance": 0.22518
}

Semantic roles & 50–950 ramp

primary
#876FEB
secondary
#E7EEC8
accent
#D80EB1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #876FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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