#876BEE#876BEE

#876BEE is a mid, vivid violet. Relative luminance 0.218; OKLCH L 62.0% C 0.189 H 289.6°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#876BEE
RGBrgb(135, 107, 238)
HSLhsl(253, 79%, 68%)
HSVhsv(253, 55%, 93%)
CMYKcmyk(43.3%, 55%, 0%, 6.7%)
CIE-LABlab(53.85, 41.88, -62.60)
CIE-LCHlch(53.85, 75.32, 303.78°)
OKLaboklab(61.95% 0.0633 -0.1783)
OKLCHoklch(61.95% 0.189 289.6)
XYZxyz(30.6777, 21.8383, 83.4712)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876BEE #D2EE6B
analogous
#6B91EE #876BEE #C86BEE
triadic
#876BEE #EE876B #6BEE87
tetradic
#876BEE #EE6B91 #D2EE6B #6BEEC8
square
#876BEE #EE6B91 #D2EE6B #6BEEC8
split-complementary
#876BEE #EEC86B #91EE6B
monochromatic
#3D17C8 #5A34E8 #876BEE #B4A2F4 #E0D9FB

Accessibility & contrast

On white

3.91
#876BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#876BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876BEE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876BEE#FFFFFF#000000##000000
##876BEE1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2383F2
Deuteranopia (green-blind)
#277EEB
Tritanopia (blue-blind)
#6987A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #876bee;
/* rgb */ color: rgb(135, 107, 238);
/* oklch */ color: oklch(62.0% 0.189 289.6);
Tailwind
colors: {
  custom: {
    50: '#b096f4',
    500: '#876bee',
    950: '#000000',
  },
}
SCSS
$custom: #876bee;
$custom-light: #b096f4;
$custom-dark: #000000;
JSON
{
  "hex": "#876bee",
  "rgb": {
    "r": 135,
    "g": 107,
    "b": 238
  },
  "hsl": {
    "h": 252.824,
    "s": 79.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61953,
    "c": 0.18918,
    "h": 289.6
  },
  "luminance": 0.21839
}

Semantic roles & 50–950 ramp

primary
#876BEE
secondary
#E6EFC6
accent
#DC0AAF
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #876BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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