#876EEF#876EEF

#876EEF is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.5% C 0.186 H 288.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#876EEF
RGBrgb(135, 110, 239)
HSLhsl(252, 80%, 68%)
HSVhsv(252, 54%, 94%)
CMYKcmyk(43.5%, 54%, 0%, 6.3%)
CIE-LABlab(54.59, 40.44, -61.98)
CIE-LCHlch(54.59, 74.01, 303.12°)
OKLaboklab(62.52% 0.0599 -0.1764)
OKLCHoklch(62.52% 0.186 288.7)
XYZxyz(31.1432, 22.5336, 84.3531)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876EEF #D6EF6E
analogous
#6E95EF #876EEF #C76EEF
triadic
#876EEF #EF876E #6EEF87
tetradic
#876EEF #EF6E95 #D6EF6E #6EEFC7
square
#876EEF #EF6E95 #D6EF6E #6EEFC7
split-complementary
#876EEF #EFC76E #95EF6E
monochromatic
#3A17CC #5937E9 #876EEF #B5A5F5 #E2DCFB

Accessibility & contrast

On white

3.81
#876EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#876EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876EEF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876EEF#FFFFFF#000000##000000
##876EEF1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B85F3
Deuteranopia (green-blind)
#2D7FEC
Tritanopia (blue-blind)
#688AA4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #876eef;
/* rgb */ color: rgb(135, 110, 239);
/* oklch */ color: oklch(62.5% 0.186 288.7);
Tailwind
colors: {
  custom: {
    50: '#b098f5',
    500: '#876eef',
    950: '#000000',
  },
}
SCSS
$custom: #876eef;
$custom-light: #b098f5;
$custom-dark: #000000;
JSON
{
  "hex": "#876eef",
  "rgb": {
    "r": 135,
    "g": 110,
    "b": 239
  },
  "hsl": {
    "h": 251.628,
    "s": 80.124,
    "l": 68.431
  },
  "oklch": {
    "l": 0.62517,
    "c": 0.18633,
    "h": 288.7
  },
  "luminance": 0.22535
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #876EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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