#876EEE#876EEE

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

Color values

HEX#876EEE
RGBrgb(135, 110, 238)
HSLhsl(252, 79%, 68%)
HSVhsv(252, 54%, 93%)
CMYKcmyk(43.3%, 53.8%, 0%, 6.7%)
CIE-LABlab(54.53, 40.16, -61.52)
CIE-LCHlch(54.53, 73.47, 303.14°)
OKLaboklab(62.45% 0.0599 -0.1751)
OKLCHoklch(62.45% 0.185 288.9)
XYZxyz(30.9959, 22.4747, 83.5772)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876EEE #D5EE6E
analogous
#6E95EE #876EEE #C76EEE
triadic
#876EEE #EE876E #6EEE87
tetradic
#876EEE #EE6E95 #D5EE6E #6EEEC7
square
#876EEE #EE6E95 #D5EE6E #6EEEC7
split-complementary
#876EEE #EEC76E #95EE6E
monochromatic
#3A18CA #5A37E8 #876EEE #B4A5F4 #E2DCFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##876EEE#FFFFFF#000000##000000
##876EEE1.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)
#2D85F2
Deuteranopia (green-blind)
#2F7FEB
Tritanopia (blue-blind)
#688AA4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #876eee;
/* rgb */ color: rgb(135, 110, 238);
/* oklch */ color: oklch(62.5% 0.185 288.9);
Tailwind
colors: {
  custom: {
    50: '#b098f4',
    500: '#876eee',
    950: '#000000',
  },
}
SCSS
$custom: #876eee;
$custom-light: #b098f4;
$custom-dark: #000000;
JSON
{
  "hex": "#876eee",
  "rgb": {
    "r": 135,
    "g": 110,
    "b": 238
  },
  "hsl": {
    "h": 251.719,
    "s": 79.012,
    "l": 68.235
  },
  "oklch": {
    "l": 0.62451,
    "c": 0.18504,
    "h": 288.9
  },
  "luminance": 0.22476
}

Semantic roles & 50–950 ramp

primary
#876EEE
secondary
#E8EFC8
accent
#DB0AB2
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #876EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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