#876FCB#876FCB

#876FCB is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.5% C 0.137 H 293.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#876FCB
RGBrgb(135, 111, 203)
HSLhsl(256, 47%, 62%)
HSVhsv(256, 45%, 80%)
CMYKcmyk(33.5%, 45.3%, 0%, 20.4%)
CIE-LABlab(52.76, 30.05, -44.60)
CIE-LCHlch(52.76, 53.78, 303.97°)
OKLaboklab(60.49% 0.0556 -0.1255)
OKLCHoklch(60.49% 0.137 293.9)
XYZxyz(26.4529, 20.8311, 59.1154)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876FCB #B3CB6F
analogous
#6F85CB #876FCB #B56FCB
triadic
#876FCB #CB876F #6FCB87
tetradic
#876FCB #CB6F85 #B3CB6F #6FCBB5
square
#876FCB #CB6F85 #B3CB6F #6FCBB5
split-complementary
#876FCB #CBB56F #85CB6F
monochromatic
#4A338D #6243BA #876FCB #AC9CDB #D2C9EB

Accessibility & contrast

On white

4.06
#876FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#876FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876FCB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876FCB#FFFFFF#000000##000000
##876FCB1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCE
Deuteranopia (green-blind)
#547CC9
Tritanopia (blue-blind)
#778093
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #876fcb;
/* rgb */ color: rgb(135, 111, 203);
/* oklch */ color: oklch(60.5% 0.137 293.9);
Tailwind
colors: {
  custom: {
    50: '#ad98db',
    500: '#876fcb',
    950: '#000000',
  },
}
SCSS
$custom: #876fcb;
$custom-light: #ad98db;
$custom-dark: #000000;
JSON
{
  "hex": "#876fcb",
  "rgb": {
    "r": 135,
    "g": 111,
    "b": 203
  },
  "hsl": {
    "h": 255.652,
    "s": 46.939,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60489,
    "c": 0.13726,
    "h": 293.9
  },
  "luminance": 0.20832
}

Semantic roles & 50–950 ramp

primary
#876FCB
secondary
#D3DCBA
accent
#BA2B95
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #876FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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