#876FD2#876FD2

#876FD2 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 60.9% C 0.147 H 292.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#876FD2
RGBrgb(135, 111, 210)
HSLhsl(255, 52%, 63%)
HSVhsv(255, 47%, 82%)
CMYKcmyk(35.7%, 47.1%, 0%, 17.6%)
CIE-LABlab(53.14, 31.91, -47.99)
CIE-LCHlch(53.14, 57.63, 303.62°)
OKLaboklab(60.89% 0.0566 -0.1354)
OKLCHoklch(60.89% 0.147 292.7)
XYZxyz(27.3059, 21.1723, 63.6083)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876FD2 #BAD26F
analogous
#6F89D2 #876FD2 #B86FD2
triadic
#876FD2 #D2876F #6FD287
tetradic
#876FD2 #D26F89 #BAD26F #6FD2B8
square
#876FD2 #D26F89 #BAD26F #6FD2B8
split-complementary
#876FD2 #D2B86F #89D26F
monochromatic
#492F97 #6040C3 #876FD2 #AE9EE1 #D5CCEF

Accessibility & contrast

On white

4.01
#876FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#876FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876FD2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876FD2#FFFFFF#000000##000000
##876FD21.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C80D6
Deuteranopia (green-blind)
#4F7DD0
Tritanopia (blue-blind)
#758296
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #876fd2;
/* rgb */ color: rgb(135, 111, 210);
/* oklch */ color: oklch(60.9% 0.147 292.7);
Tailwind
colors: {
  custom: {
    50: '#ad98e0',
    500: '#876fd2',
    950: '#000000',
  },
}
SCSS
$custom: #876fd2;
$custom-light: #ad98e0;
$custom-dark: #000000;
JSON
{
  "hex": "#876fd2",
  "rgb": {
    "r": 135,
    "g": 111,
    "b": 210
  },
  "hsl": {
    "h": 254.545,
    "s": 52.381,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60891,
    "c": 0.14672,
    "h": 292.7
  },
  "luminance": 0.21173
}

Semantic roles & 50–950 ramp

primary
#876FD2
secondary
#D8E0BD
accent
#C0269A
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #876FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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