#876BF4#876BF4

#876BF4 is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.4% C 0.197 H 288.8°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#876BF4
RGBrgb(135, 107, 244)
HSLhsl(252, 86%, 69%)
HSVhsv(252, 56%, 96%)
CMYKcmyk(44.7%, 56.1%, 0%, 4.3%)
CIE-LABlab(54.24, 43.55, -65.34)
CIE-LCHlch(54.24, 78.52, 303.68°)
OKLaboklab(62.36% 0.0634 -0.1863)
OKLCHoklch(62.36% 0.197 288.8)
XYZxyz(31.5739, 22.1967, 88.1912)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876BF4 #D8F46B
analogous
#6B94F4 #876BF4 #CC6BF4
triadic
#876BF4 #F4876B #6BF487
tetradic
#876BF4 #F46B94 #D8F46B #6BF4CC
square
#876BF4 #F46B94 #D8F46B #6BF4CC
split-complementary
#876BF4 #F4CC6B #94F46B
monochromatic
#3810D5 #5932F0 #876BF4 #B5A4F8 #E3DDFC

Accessibility & contrast

On white

3.86
#876BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#876BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876BF4
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876BF4#FFFFFF#000000##000000
##876BF41.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1385F9
Deuteranopia (green-blind)
#187EF1
Tritanopia (blue-blind)
#6589A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #876bf4;
/* rgb */ color: rgb(135, 107, 244);
/* oklch */ color: oklch(62.4% 0.197 288.8);
Tailwind
colors: {
  custom: {
    50: '#b096f8',
    500: '#876bf4',
    950: '#000000',
  },
}
SCSS
$custom: #876bf4;
$custom-light: #b096f8;
$custom-dark: #000000;
JSON
{
  "hex": "#876bf4",
  "rgb": {
    "r": 135,
    "g": 107,
    "b": 244
  },
  "hsl": {
    "h": 252.263,
    "s": 86.164,
    "l": 68.824
  },
  "oklch": {
    "l": 0.62356,
    "c": 0.19679,
    "h": 288.8
  },
  "luminance": 0.22198
}

Semantic roles & 50–950 ramp

primary
#876BF4
secondary
#E9F2C9
accent
#E303B5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #876BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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