#876EBE#876EBE

#876EBE is a mid, vivid violet. Relative luminance 0.200; OKLCH L 59.6% C 0.121 H 297.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#876EBE
RGBrgb(135, 110, 190)
HSLhsl(259, 38%, 59%)
HSVhsv(259, 42%, 75%)
CMYKcmyk(28.9%, 42.1%, 0%, 25.5%)
CIE-LABlab(51.86, 27.26, -38.59)
CIE-LCHlch(51.86, 47.24, 305.24°)
OKLaboklab(59.59% 0.0549 -0.108)
OKLCHoklch(59.59% 0.121 297)
XYZxyz(24.8596, 20.0202, 51.2598)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876EBE #A5BE6E
analogous
#6E7DBE #876EBE #AF6EBE
triadic
#876EBE #BE876E #6EBE87
tetradic
#876EBE #BE6E7D #A5BE6E #6EBEAF
square
#876EBE #BE6E7D #A5BE6E #6EBEAF
split-complementary
#876EBE #BEAF6E #7DBE6E
monochromatic
#4C377B #664AA5 #876EBE #AA98D1 #CDC3E4

Accessibility & contrast

On white

4.20
#876EBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#876EBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876EBE
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876EBE#FFFFFF#000000##000000
##876EBE1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#577CC1
Deuteranopia (green-blind)
#5B7BBC
Tritanopia (blue-blind)
#7C7C8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #876ebe;
/* rgb */ color: rgb(135, 110, 190);
/* oklch */ color: oklch(59.6% 0.121 297.0);
Tailwind
colors: {
  custom: {
    50: '#ac98d2',
    500: '#876ebe',
    950: '#000000',
  },
}
SCSS
$custom: #876ebe;
$custom-light: #ac98d2;
$custom-dark: #000000;
JSON
{
  "hex": "#876ebe",
  "rgb": {
    "r": 135,
    "g": 110,
    "b": 190
  },
  "hsl": {
    "h": 258.75,
    "s": 38.095,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59591,
    "c": 0.12114,
    "h": 297
  },
  "luminance": 0.2002
}

Semantic roles & 50–950 ramp

primary
#876EBE
secondary
#CAD4B4
accent
#CE5AAA
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #876EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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