#876BF5#876BF5

#876BF5 is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.4% C 0.198 H 288.7°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#876BF5
RGBrgb(135, 107, 245)
HSLhsl(252, 87%, 69%)
HSVhsv(252, 56%, 96%)
CMYKcmyk(44.9%, 56.3%, 0%, 3.9%)
CIE-LABlab(54.30, 43.83, -65.79)
CIE-LCHlch(54.30, 79.05, 303.67°)
OKLaboklab(62.42% 0.0634 -0.1876)
OKLCHoklch(62.42% 0.198 288.7)
XYZxyz(31.7261, 22.2576, 88.9930)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876BF5 #D9F56B
analogous
#6B94F5 #876BF5 #CC6BF5
triadic
#876BF5 #F5876B #6BF587
tetradic
#876BF5 #F56B94 #D9F56B #6BF5CC
square
#876BF5 #F56B94 #D9F56B #6BF5CC
split-complementary
#876BF5 #F5CC6B #94F56B
monochromatic
#370FD7 #5932F1 #876BF5 #B5A4F9 #E4DEFD

Accessibility & contrast

On white

3.85
#876BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#876BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876BF5
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876BF5#FFFFFF#000000##000000
##876BF51.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F85FA
Deuteranopia (green-blind)
#157EF2
Tritanopia (blue-blind)
#658AA6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #876bf5;
/* rgb */ color: rgb(135, 107, 245);
/* oklch */ color: oklch(62.4% 0.198 288.7);
Tailwind
colors: {
  custom: {
    50: '#b196f9',
    500: '#876bf5',
    950: '#000000',
  },
}
SCSS
$custom: #876bf5;
$custom-light: #b196f9;
$custom-dark: #000000;
JSON
{
  "hex": "#876bf5",
  "rgb": {
    "r": 135,
    "g": 107,
    "b": 245
  },
  "hsl": {
    "h": 252.174,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.62424,
    "c": 0.19805,
    "h": 288.7
  },
  "luminance": 0.22259
}

Semantic roles & 50–950 ramp

primary
#876BF5
secondary
#EAF2CA
accent
#E402B6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #876BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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