#876FE8#876FE8

#876FE8 is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.2% C 0.176 H 289.4°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#876FE8
RGBrgb(135, 111, 232)
HSLhsl(252, 72%, 67%)
HSVhsv(252, 52%, 91%)
CMYKcmyk(41.8%, 52.2%, 0%, 9%)
CIE-LABlab(54.39, 37.92, -58.39)
CIE-LCHlch(54.39, 69.62, 303.00°)
OKLaboklab(62.23% 0.0584 -0.1659)
OKLCHoklch(62.23% 0.176 289.4)
XYZxyz(30.2375, 22.3450, 79.0481)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876FE8 #D0E86F
analogous
#6F94E8 #876FE8 #C46FE8
triadic
#876FE8 #E8876F #6FE887
tetradic
#876FE8 #E86F94 #D0E86F #6FE8C4
square
#876FE8 #E86F94 #D0E86F #6FE8C4
split-complementary
#876FE8 #E8C46F #94E86F
monochromatic
#3E1EBE #5B3AE0 #876FE8 #B3A4F0 #DFD9F9

Accessibility & contrast

On white

3.84
#876FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#876FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876FE8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876FE8#FFFFFF#000000##000000
##876FE81.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3885EC
Deuteranopia (green-blind)
#3A7FE5
Tritanopia (blue-blind)
#6B88A1
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #876fe8;
/* rgb */ color: rgb(135, 111, 232);
/* oklch */ color: oklch(62.2% 0.176 289.4);
Tailwind
colors: {
  custom: {
    50: '#af99f0',
    500: '#876fe8',
    950: '#000000',
  },
}
SCSS
$custom: #876fe8;
$custom-light: #af99f0;
$custom-dark: #000000;
JSON
{
  "hex": "#876fe8",
  "rgb": {
    "r": 135,
    "g": 111,
    "b": 232
  },
  "hsl": {
    "h": 251.901,
    "s": 72.455,
    "l": 67.255
  },
  "oklch": {
    "l": 0.62234,
    "c": 0.17586,
    "h": 289.4
  },
  "luminance": 0.22346
}

Semantic roles & 50–950 ramp

primary
#876FE8
secondary
#E5ECC6
accent
#D511AE
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #876FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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