#876BE8#876BE8

#876BE8 is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.6% C 0.181 H 290.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#876BE8
RGBrgb(135, 107, 232)
HSLhsl(253, 73%, 66%)
HSVhsv(253, 54%, 91%)
CMYKcmyk(41.8%, 53.9%, 0%, 9%)
CIE-LABlab(53.48, 40.22, -59.85)
CIE-LCHlch(53.48, 72.10, 303.90°)
OKLaboklab(61.56% 0.0632 -0.1702)
OKLCHoklch(61.56% 0.182 290.4)
XYZxyz(29.8108, 21.4915, 78.9059)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876BE8 #CCE86B
analogous
#6B8EE8 #876BE8 #C66BE8
triadic
#876BE8 #E8876B #6BE887
tetradic
#876BE8 #E86B8E #CCE86B #6BE8C6
square
#876BE8 #E86B8E #CCE86B #6BE8C6
split-complementary
#876BE8 #E8C66B #8EE86B
monochromatic
#411DBB #5C36E0 #876BE8 #B2A0F0 #DDD5F8

Accessibility & contrast

On white

3.96
#876BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#876BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876BE8
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876BE8#FFFFFF#000000##000000
##876BE81.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D82EC
Deuteranopia (green-blind)
#327DE5
Tritanopia (blue-blind)
#6C869F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #876be8;
/* rgb */ color: rgb(135, 107, 232);
/* oklch */ color: oklch(61.6% 0.181 290.4);
Tailwind
colors: {
  custom: {
    50: '#af96f0',
    500: '#876be8',
    950: '#000000',
  },
}
SCSS
$custom: #876be8;
$custom-light: #af96f0;
$custom-dark: #000000;
JSON
{
  "hex": "#876be8",
  "rgb": {
    "r": 135,
    "g": 107,
    "b": 232
  },
  "hsl": {
    "h": 253.44,
    "s": 73.099,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61559,
    "c": 0.1815,
    "h": 290.4
  },
  "luminance": 0.21492
}

Semantic roles & 50–950 ramp

primary
#876BE8
secondary
#E3ECC3
accent
#D510A9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #876BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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