#876FC2#876FC2

#876FC2 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.0% C 0.125 H 295.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#876FC2
RGBrgb(135, 111, 194)
HSLhsl(257, 40%, 60%)
HSVhsv(257, 43%, 76%)
CMYKcmyk(30.4%, 42.8%, 0%, 23.9%)
CIE-LABlab(52.30, 27.70, -40.18)
CIE-LCHlch(52.30, 48.81, 304.58°)
OKLaboklab(59.99% 0.0542 -0.1126)
OKLCHoklch(59.99% 0.125 295.7)
XYZxyz(25.4113, 20.4145, 53.6301)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876FC2 #AAC26F
analogous
#6F81C2 #876FC2 #B06FC2
triadic
#876FC2 #C2876F #6FC287
tetradic
#876FC2 #C26F81 #AAC26F #6FC2B0
square
#876FC2 #C26F81 #AAC26F #6FC2B0
split-complementary
#876FC2 #C2B06F #81C26F
monochromatic
#4C3680 #6549AB #876FC2 #AB9AD4 #CFC5E6

Accessibility & contrast

On white

4.13
#876FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#876FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876FC2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876FC2#FFFFFF#000000##000000
##876FC21.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#567DC5
Deuteranopia (green-blind)
#5A7CC0
Tritanopia (blue-blind)
#7A7E8F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #876fc2;
/* rgb */ color: rgb(135, 111, 194);
/* oklch */ color: oklch(60.0% 0.125 295.7);
Tailwind
colors: {
  custom: {
    50: '#ac98d5',
    500: '#876fc2',
    950: '#000000',
  },
}
SCSS
$custom: #876fc2;
$custom-light: #ac98d5;
$custom-dark: #000000;
JSON
{
  "hex": "#876fc2",
  "rgb": {
    "r": 135,
    "g": 111,
    "b": 194
  },
  "hsl": {
    "h": 257.349,
    "s": 40.488,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59991,
    "c": 0.125,
    "h": 295.7
  },
  "luminance": 0.20415
}

Semantic roles & 50–950 ramp

primary
#876FC2
secondary
#CDD6B6
accent
#D057AD
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #876FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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