#876CEB#876CEB

#876CEB is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.9% C 0.184 H 289.7°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#876CEB
RGBrgb(135, 108, 235)
HSLhsl(253, 76%, 67%)
HSVhsv(253, 54%, 92%)
CMYKcmyk(42.6%, 54%, 0%, 7.8%)
CIE-LABlab(53.89, 40.47, -60.87)
CIE-LCHlch(53.89, 73.10, 303.62°)
OKLaboklab(61.92% 0.0621 -0.1732)
OKLCHoklch(61.92% 0.184 289.7)
XYZxyz(30.3454, 21.8732, 81.2042)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876CEB #D0EB6C
analogous
#6C91EB #876CEB #C76CEB
triadic
#876CEB #EB876C #6CEB87
tetradic
#876CEB #EB6C91 #D0EB6C #6CEBC7
square
#876CEB #EB6C91 #D0EB6C #6CEBC7
split-complementary
#876CEB #EBC76C #91EB6C
monochromatic
#3E1AC2 #5B36E4 #876CEB #B3A2F2 #DFD8FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##876CEB#FFFFFF#000000##000000
##876CEB1.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)
#2B83EF
Deuteranopia (green-blind)
#2F7EE8
Tritanopia (blue-blind)
#6A87A1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #876ceb;
/* rgb */ color: rgb(135, 108, 235);
/* oklch */ color: oklch(61.9% 0.184 289.7);
Tailwind
colors: {
  custom: {
    50: '#af97f2',
    500: '#876ceb',
    950: '#000000',
  },
}
SCSS
$custom: #876ceb;
$custom-light: #af97f2;
$custom-dark: #000000;
JSON
{
  "hex": "#876ceb",
  "rgb": {
    "r": 135,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 252.756,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61921,
    "c": 0.18396,
    "h": 289.7
  },
  "luminance": 0.21874
}

Semantic roles & 50–950 ramp

primary
#876CEB
secondary
#E5EDC5
accent
#D80DAD
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #876CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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