#876ABC#876ABC

#876ABC is a mid, vivid violet. Relative luminance 0.191; OKLCH L 58.8% C 0.125 H 298.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#876ABC
RGBrgb(135, 106, 188)
HSLhsl(261, 38%, 58%)
HSVhsv(261, 44%, 74%)
CMYKcmyk(28.2%, 43.6%, 0%, 26.3%)
CIE-LABlab(50.79, 29.10, -39.12)
CIE-LCHlch(50.79, 48.75, 306.65°)
OKLaboklab(58.75% 0.0602 -0.1095)
OKLCHoklch(58.75% 0.125 298.8)
XYZxyz(24.2207, 19.0896, 49.9758)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876ABC #9FBC6A
analogous
#6A76BC #876ABC #B06ABC
triadic
#876ABC #BC876A #6ABC87
tetradic
#876ABC #BC6A76 #9FBC6A #6ABCB0
square
#876ABC #BC6A76 #9FBC6A #6ABCB0
split-complementary
#876ABC #BCB06A #76BC6A
monochromatic
#4C3576 #6748A1 #876ABC #A994CF #CBBEE2

Accessibility & contrast

On white

4.36
#876ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#876ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876ABC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876ABC#FFFFFF#000000##000000
##876ABC1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5379BF
Deuteranopia (green-blind)
#5878BA
Tritanopia (blue-blind)
#7C788A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #876abc;
/* rgb */ color: rgb(135, 106, 188);
/* oklch */ color: oklch(58.8% 0.125 298.8);
Tailwind
colors: {
  custom: {
    50: '#ac95d0',
    500: '#876abc',
    950: '#000000',
  },
}
SCSS
$custom: #876abc;
$custom-light: #ac95d0;
$custom-dark: #000000;
JSON
{
  "hex": "#876abc",
  "rgb": {
    "r": 135,
    "g": 106,
    "b": 188
  },
  "hsl": {
    "h": 261.22,
    "s": 37.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58752,
    "c": 0.12498,
    "h": 298.8
  },
  "luminance": 0.1909
}

Semantic roles & 50–950 ramp

primary
#876ABC
secondary
#C6D1B0
accent
#CE5AA5
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #876ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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