#876BCD#876BCD

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

Color values

HEX#876BCD
RGBrgb(135, 107, 205)
HSLhsl(257, 49%, 61%)
HSVhsv(257, 48%, 80%)
CMYKcmyk(34.1%, 47.8%, 0%, 19.6%)
CIE-LABlab(51.92, 32.92, -47.08)
CIE-LCHlch(51.92, 57.45, 304.96°)
OKLaboklab(59.89% 0.0612 -0.1327)
OKLCHoklch(59.89% 0.146 294.8)
XYZxyz(26.2660, 20.0736, 60.2365)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876BCD #B1CD6B
analogous
#6B80CD #876BCD #B86BCD
triadic
#876BCD #CD876B #6BCD87
tetradic
#876BCD #CD6B80 #B1CD6B #6BCDB8
square
#876BCD #CD6B80 #B1CD6B #6BCDB8
split-complementary
#876BCD #CDB86B #80CD6B
monochromatic
#4B308E #633FBB #876BCD #AC99DC #D1C6EC

Accessibility & contrast

On white

4.19
#876BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#876BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876BCD
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876BCD#FFFFFF#000000##000000
##876BCD1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD1
Deuteranopia (green-blind)
#4E7ACB
Tritanopia (blue-blind)
#777E92
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #876bcd;
/* rgb */ color: rgb(135, 107, 205);
/* oklch */ color: oklch(59.9% 0.146 294.8);
Tailwind
colors: {
  custom: {
    50: '#ad96dd',
    500: '#876bcd',
    950: '#000000',
  },
}
SCSS
$custom: #876bcd;
$custom-light: #ad96dd;
$custom-dark: #000000;
JSON
{
  "hex": "#876bcd",
  "rgb": {
    "r": 135,
    "g": 107,
    "b": 205
  },
  "hsl": {
    "h": 257.143,
    "s": 49.495,
    "l": 61.176
  },
  "oklch": {
    "l": 0.5989,
    "c": 0.14617,
    "h": 294.8
  },
  "luminance": 0.20074
}

Semantic roles & 50–950 ramp

primary
#876BCD
secondary
#D2DCB8
accent
#BD2992
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #876BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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