#876BCE#876BCE

#876BCE is a mid, vivid violet. Relative luminance 0.201; OKLCH L 59.9% C 0.147 H 294.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#876BCE
RGBrgb(135, 107, 206)
HSLhsl(257, 50%, 61%)
HSVhsv(257, 48%, 81%)
CMYKcmyk(34.5%, 48.1%, 0%, 19.2%)
CIE-LABlab(51.97, 33.18, -47.56)
CIE-LCHlch(51.97, 57.99, 304.90°)
OKLaboklab(59.95% 0.0613 -0.1341)
OKLCHoklch(59.95% 0.148 294.6)
XYZxyz(26.3871, 20.1220, 60.8743)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876BCE #B2CE6B
analogous
#6B81CE #876BCE #B96BCE
triadic
#876BCE #CE876B #6BCE87
tetradic
#876BCE #CE6B81 #B2CE6B #6BCEB9
square
#876BCE #CE6B81 #B2CE6B #6BCEB9
split-complementary
#876BCE #CEB96B #81CE6B
monochromatic
#4A2F8F #623FBD #876BCE #AC99DD #D2C7EC

Accessibility & contrast

On white

4.18
#876BCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#876BCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876BCE
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876BCE#FFFFFF#000000##000000
##876BCE1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#487DD2
Deuteranopia (green-blind)
#4D7ACC
Tritanopia (blue-blind)
#767E93
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #876bce;
/* rgb */ color: rgb(135, 107, 206);
/* oklch */ color: oklch(59.9% 0.147 294.6);
Tailwind
colors: {
  custom: {
    50: '#ad96dd',
    500: '#876bce',
    950: '#000000',
  },
}
SCSS
$custom: #876bce;
$custom-light: #ad96dd;
$custom-dark: #000000;
JSON
{
  "hex": "#876bce",
  "rgb": {
    "r": 135,
    "g": 107,
    "b": 206
  },
  "hsl": {
    "h": 256.97,
    "s": 50.254,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59949,
    "c": 0.1475,
    "h": 294.6
  },
  "luminance": 0.20123
}

Semantic roles & 50–950 ramp

primary
#876BCE
secondary
#D2DDB8
accent
#BE2893
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #876BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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