#876BCA#876BCA

#876BCA is a mid, vivid violet. Relative luminance 0.199; OKLCH L 59.7% C 0.142 H 295.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#876BCA
RGBrgb(135, 107, 202)
HSLhsl(258, 47%, 61%)
HSVhsv(258, 47%, 79%)
CMYKcmyk(33.2%, 47%, 0%, 20.8%)
CIE-LABlab(51.76, 32.13, -45.62)
CIE-LCHlch(51.76, 55.80, 305.15°)
OKLaboklab(59.72% 0.0609 -0.1285)
OKLCHoklch(59.72% 0.142 295.4)
XYZxyz(25.9074, 19.9301, 58.3476)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876BCA #AECA6B
analogous
#6B7ECA #876BCA #B66BCA
triadic
#876BCA #CA876B #6BCA87
tetradic
#876BCA #CA6B7E #AECA6B #6BCAB6
square
#876BCA #CA6B7E #AECA6B #6BCAB6
split-complementary
#876BCA #CAB66B #7ECA6B
monochromatic
#4B3189 #6441B6 #876BCA #AC98DA #D0C5EA

Accessibility & contrast

On white

4.21
#876BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#876BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876BCA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876BCA#FFFFFF#000000##000000
##876BCA1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7CCD
Deuteranopia (green-blind)
#507AC8
Tritanopia (blue-blind)
#787D91
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #876bca;
/* rgb */ color: rgb(135, 107, 202);
/* oklch */ color: oklch(59.7% 0.142 295.4);
Tailwind
colors: {
  custom: {
    50: '#ad96da',
    500: '#876bca',
    950: '#000000',
  },
}
SCSS
$custom: #876bca;
$custom-light: #ad96da;
$custom-dark: #000000;
JSON
{
  "hex": "#876bca",
  "rgb": {
    "r": 135,
    "g": 107,
    "b": 202
  },
  "hsl": {
    "h": 257.684,
    "s": 47.264,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59716,
    "c": 0.14217,
    "h": 295.4
  },
  "luminance": 0.19931
}

Semantic roles & 50–950 ramp

primary
#876BCA
secondary
#D0DAB6
accent
#BB2B90
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #876BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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