#876BE6#876BE6

#876BE6 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.4% C 0.179 H 290.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#876BE6
RGBrgb(135, 107, 230)
HSLhsl(254, 71%, 66%)
HSVhsv(254, 53%, 90%)
CMYKcmyk(41.3%, 53.5%, 0%, 9.8%)
CIE-LABlab(53.36, 39.67, -58.92)
CIE-LCHlch(53.36, 71.03, 303.95°)
OKLaboklab(61.43% 0.0631 -0.1674)
OKLCHoklch(61.43% 0.179 290.6)
XYZxyz(29.5284, 21.3785, 77.4182)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876BE6 #CAE66B
analogous
#6B8CE6 #876BE6 #C56BE6
triadic
#876BE6 #E6876B #6BE687
tetradic
#876BE6 #E66B8C #CAE66B #6BE6C5
square
#876BE6 #E66B8C #CAE66B #6BE6C5
split-complementary
#876BE6 #E6C56B #8CE66B
monochromatic
#421FB8 #5D37DD #876BE6 #B19FEF #DCD4F8

Accessibility & contrast

On white

3.98
#876BE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#876BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876BE6
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876BE6#FFFFFF#000000##000000
##876BE61.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3082EA
Deuteranopia (green-blind)
#357DE3
Tritanopia (blue-blind)
#6D859E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #876be6;
/* rgb */ color: rgb(135, 107, 230);
/* oklch */ color: oklch(61.4% 0.179 290.6);
Tailwind
colors: {
  custom: {
    50: '#af96ef',
    500: '#876be6',
    950: '#000000',
  },
}
SCSS
$custom: #876be6;
$custom-light: #af96ef;
$custom-dark: #000000;
JSON
{
  "hex": "#876be6",
  "rgb": {
    "r": 135,
    "g": 107,
    "b": 230
  },
  "hsl": {
    "h": 253.659,
    "s": 71.098,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6143,
    "c": 0.17893,
    "h": 290.6
  },
  "luminance": 0.21379
}

Semantic roles & 50–950 ramp

primary
#876BE6
secondary
#E1EBC2
accent
#D312A7
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #876BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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