#876EB7#876EB7

#876EB7 is a mid, moderate violet. Relative luminance 0.197; OKLCH L 59.2% C 0.112 H 298.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#876EB7
RGBrgb(135, 110, 183)
HSLhsl(261, 34%, 57%)
HSVhsv(261, 40%, 72%)
CMYKcmyk(26.2%, 39.9%, 0%, 28.2%)
CIE-LABlab(51.52, 25.49, -35.08)
CIE-LCHlch(51.52, 43.36, 306.00°)
OKLaboklab(59.22% 0.0536 -0.0978)
OKLCHoklch(59.22% 0.112 298.7)
XYZxyz(24.1129, 19.7215, 47.3268)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876EB7 #9EB76E
analogous
#6E79B7 #876EB7 #AC6EB7
triadic
#876EB7 #B7876E #6EB787
tetradic
#876EB7 #B76E79 #9EB76E #6EB7AC
square
#876EB7 #B76E79 #9EB76E #6EB7AC
split-complementary
#876EB7 #B7AC6E #79B76E
monochromatic
#4C3972 #684D9B #876EB7 #A997CB #CBC0E0

Accessibility & contrast

On white

4.25
#876EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#876EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876EB7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876EB7#FFFFFF#000000##000000
##876EB71.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7BBA
Deuteranopia (green-blind)
#5F7AB5
Tritanopia (blue-blind)
#7E7A8A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #876eb7;
/* rgb */ color: rgb(135, 110, 183);
/* oklch */ color: oklch(59.2% 0.112 298.7);
Tailwind
colors: {
  custom: {
    50: '#ab98cd',
    500: '#876eb7',
    950: '#000000',
  },
}
SCSS
$custom: #876eb7;
$custom-light: #ab98cd;
$custom-dark: #000000;
JSON
{
  "hex": "#876eb7",
  "rgb": {
    "r": 135,
    "g": 110,
    "b": 183
  },
  "hsl": {
    "h": 260.548,
    "s": 33.641,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59223,
    "c": 0.11155,
    "h": 298.7
  },
  "luminance": 0.19722
}

Semantic roles & 50–950 ramp

primary
#876EB7
secondary
#C5CFB2
accent
#CA5EA5
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #876EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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