#876FEE#876FEE

#876FEE is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.6% C 0.184 H 288.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#876FEE
RGBrgb(135, 111, 238)
HSLhsl(251, 79%, 68%)
HSVhsv(251, 53%, 93%)
CMYKcmyk(43.3%, 53.4%, 0%, 6.7%)
CIE-LABlab(54.75, 39.59, -61.16)
CIE-LCHlch(54.75, 72.85, 302.91°)
OKLaboklab(62.62% 0.0587 -0.174)
OKLCHoklch(62.62% 0.184 288.6)
XYZxyz(31.1044, 22.6917, 83.6134)
Luminance0.2269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876FEE #D6EE6F
analogous
#6F96EE #876FEE #C76FEE
triadic
#876FEE #EE876F #6FEE87
tetradic
#876FEE #EE6F96 #D6EE6F #6FEEC7
square
#876FEE #EE6F96 #D6EE6F #6FEEC7
split-complementary
#876FEE #EEC76F #96EE6F
monochromatic
#3A18CB #5938E8 #876FEE #B5A6F4 #E2DCFB

Accessibility & contrast

On white

3.79
#876FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#876FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876FEE
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876FEE#FFFFFF#000000##000000
##876FEE1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3086F2
Deuteranopia (green-blind)
#3180EB
Tritanopia (blue-blind)
#688AA4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #876fee;
/* rgb */ color: rgb(135, 111, 238);
/* oklch */ color: oklch(62.6% 0.184 288.6);
Tailwind
colors: {
  custom: {
    50: '#b099f4',
    500: '#876fee',
    950: '#000000',
  },
}
SCSS
$custom: #876fee;
$custom-light: #b099f4;
$custom-dark: #000000;
JSON
{
  "hex": "#876fee",
  "rgb": {
    "r": 135,
    "g": 111,
    "b": 238
  },
  "hsl": {
    "h": 251.339,
    "s": 78.882,
    "l": 68.431
  },
  "oklch": {
    "l": 0.62619,
    "c": 0.18364,
    "h": 288.6
  },
  "luminance": 0.22693
}

Semantic roles & 50–950 ramp

primary
#876FEE
secondary
#E8F0C9
accent
#DB0AB4
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #876FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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