#876CD3#876CD3

#876CD3 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.4% C 0.153 H 293.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#876CD3
RGBrgb(135, 108, 211)
HSLhsl(256, 54%, 63%)
HSVhsv(256, 49%, 83%)
CMYKcmyk(36%, 48.8%, 0%, 17.3%)
CIE-LABlab(52.49, 33.93, -49.59)
CIE-LCHlch(52.49, 60.09, 304.38°)
OKLaboklab(60.42% 0.0606 -0.1401)
OKLCHoklch(60.42% 0.153 293.4)
XYZxyz(27.1090, 20.5786, 64.1592)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876CD3 #B8D36C
analogous
#6C85D3 #876CD3 #BA6CD3
triadic
#876CD3 #D3876C #6CD387
tetradic
#876CD3 #D36C85 #B8D36C #6CD3BA
square
#876CD3 #D36C85 #B8D36C #6CD3BA
split-complementary
#876CD3 #D3BA6C #85D36C
monochromatic
#492D97 #613DC5 #876CD3 #AD9BE1 #D4CAEF

Accessibility & contrast

On white

4.10
#876CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#876CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876CD3
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876CD3#FFFFFF#000000##000000
##876CD31.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#467ED7
Deuteranopia (green-blind)
#4B7BD1
Tritanopia (blue-blind)
#748096
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #876cd3;
/* rgb */ color: rgb(135, 108, 211);
/* oklch */ color: oklch(60.4% 0.153 293.4);
Tailwind
colors: {
  custom: {
    50: '#ad96e1',
    500: '#876cd3',
    950: '#000000',
  },
}
SCSS
$custom: #876cd3;
$custom-light: #ad96e1;
$custom-dark: #000000;
JSON
{
  "hex": "#876cd3",
  "rgb": {
    "r": 135,
    "g": 108,
    "b": 211
  },
  "hsl": {
    "h": 255.728,
    "s": 53.927,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6042,
    "c": 0.15262,
    "h": 293.4
  },
  "luminance": 0.20579
}

Semantic roles & 50–950 ramp

primary
#876CD3
secondary
#D6E0BB
accent
#C12498
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #876CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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