#876FAC#876FAC

#876FAC is a mid, moderate violet. Relative luminance 0.195; OKLCH L 58.9% C 0.095 H 301.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#876FAC
RGBrgb(135, 111, 172)
HSLhsl(264, 27%, 55%)
HSVhsv(264, 35%, 67%)
CMYKcmyk(21.5%, 35.5%, 0%, 32.5%)
CIE-LABlab(51.27, 22.19, -29.11)
CIE-LCHlch(51.27, 36.60, 307.31°)
OKLaboklab(58.86% 0.0497 -0.0806)
OKLCHoklch(58.86% 0.095 301.7)
XYZxyz(23.1209, 19.4983, 41.5672)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876FAC #94AC6F
analogous
#6F75AC #876FAC #A56FAC
triadic
#876FAC #AC876F #6FAC87
tetradic
#876FAC #AC6F75 #94AC6F #6FACA5
square
#876FAC #AC6F75 #94AC6F #6FACA5
split-complementary
#876FAC #ACA56F #75AC6F
monochromatic
#4C3B66 #69518D #876FAC #A796C2 #C8BDD9

Accessibility & contrast

On white

4.29
#876FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#876FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876FAC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876FAC#FFFFFF#000000##000000
##876FAC1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#617AAE
Deuteranopia (green-blind)
#667AAA
Tritanopia (blue-blind)
#817985
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #876fac;
/* rgb */ color: rgb(135, 111, 172);
/* oklch */ color: oklch(58.9% 0.095 301.7);
Tailwind
colors: {
  custom: {
    50: '#ab98c5',
    500: '#876fac',
    950: '#000000',
  },
}
SCSS
$custom: #876fac;
$custom-light: #ab98c5;
$custom-dark: #000000;
JSON
{
  "hex": "#876fac",
  "rgb": {
    "r": 135,
    "g": 111,
    "b": 172
  },
  "hsl": {
    "h": 263.607,
    "s": 26.872,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58863,
    "c": 0.09469,
    "h": 301.7
  },
  "luminance": 0.19498
}

Semantic roles & 50–950 ramp

primary
#876FAC
secondary
#BEC8AF
accent
#C3659E
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #876FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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