#876CBE#876CBE

#876CBE is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.2% C 0.124 H 297.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#876CBE
RGBrgb(135, 108, 190)
HSLhsl(260, 39%, 58%)
HSVhsv(260, 43%, 75%)
CMYKcmyk(28.9%, 43.2%, 0%, 25.5%)
CIE-LABlab(51.37, 28.43, -39.35)
CIE-LCHlch(51.37, 48.55, 305.85°)
OKLaboklab(59.22% 0.0578 -0.1102)
OKLCHoklch(59.22% 0.124 297.7)
XYZxyz(24.6463, 19.5935, 51.1887)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876CBE #A3BE6C
analogous
#6C7ABE #876CBE #B06CBE
triadic
#876CBE #BE876C #6CBE87
tetradic
#876CBE #BE6C7A #A3BE6C #6CBEB0
square
#876CBE #BE6C7A #A3BE6C #6CBEB0
split-complementary
#876CBE #BEB06C #7ABE6C
monochromatic
#4C367A #6749A4 #876CBE #AA96D1 #CCC1E4

Accessibility & contrast

On white

4.27
#876CBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#876CBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876CBE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876CBE#FFFFFF#000000##000000
##876CBE1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#547BC1
Deuteranopia (green-blind)
#597ABC
Tritanopia (blue-blind)
#7C7B8C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #876cbe;
/* rgb */ color: rgb(135, 108, 190);
/* oklch */ color: oklch(59.2% 0.124 297.7);
Tailwind
colors: {
  custom: {
    50: '#ac96d2',
    500: '#876cbe',
    950: '#000000',
  },
}
SCSS
$custom: #876cbe;
$custom-light: #ac96d2;
$custom-dark: #000000;
JSON
{
  "hex": "#876cbe",
  "rgb": {
    "r": 135,
    "g": 108,
    "b": 190
  },
  "hsl": {
    "h": 259.756,
    "s": 38.679,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59224,
    "c": 0.12441,
    "h": 297.7
  },
  "luminance": 0.19594
}

Semantic roles & 50–950 ramp

primary
#876CBE
secondary
#C8D3B3
accent
#CF59A8
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #876CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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