#876FCD#876FCD

#876FCD is a mid, vivid violet. Relative luminance 0.209; OKLCH L 60.6% C 0.140 H 293.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#876FCD
RGBrgb(135, 111, 205)
HSLhsl(255, 48%, 62%)
HSVhsv(255, 46%, 80%)
CMYKcmyk(34.1%, 45.9%, 0%, 19.6%)
CIE-LABlab(52.87, 30.58, -45.57)
CIE-LCHlch(52.87, 54.88, 303.86°)
OKLaboklab(60.6% 0.0559 -0.1283)
OKLCHoklch(60.6% 0.14 293.5)
XYZxyz(26.6927, 20.9270, 60.3788)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876FCD #B5CD6F
analogous
#6F86CD #876FCD #B66FCD
triadic
#876FCD #CD876F #6FCD87
tetradic
#876FCD #CD6F86 #B5CD6F #6FCDB6
square
#876FCD #CD6F86 #B5CD6F #6FCDB6
split-complementary
#876FCD #CDB66F #86CD6F
monochromatic
#4A3290 #6142BD #876FCD #AD9CDD #D3CAED

Accessibility & contrast

On white

4.05
#876FCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#876FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876FCD
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876FCD#FFFFFF#000000##000000
##876FCD1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7FD0
Deuteranopia (green-blind)
#537DCB
Tritanopia (blue-blind)
#778194
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #876fcd;
/* rgb */ color: rgb(135, 111, 205);
/* oklch */ color: oklch(60.6% 0.140 293.5);
Tailwind
colors: {
  custom: {
    50: '#ad98dd',
    500: '#876fcd',
    950: '#000000',
  },
}
SCSS
$custom: #876fcd;
$custom-light: #ad98dd;
$custom-dark: #000000;
JSON
{
  "hex": "#876fcd",
  "rgb": {
    "r": 135,
    "g": 111,
    "b": 205
  },
  "hsl": {
    "h": 255.319,
    "s": 48.454,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60603,
    "c": 0.13997,
    "h": 293.5
  },
  "luminance": 0.20928
}

Semantic roles & 50–950 ramp

primary
#876FCD
secondary
#D4DDBB
accent
#BC2A96
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #876FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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