#876BF2#876BF2

#876BF2 is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.2% C 0.194 H 289.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#876BF2
RGBrgb(135, 107, 242)
HSLhsl(252, 84%, 68%)
HSVhsv(252, 56%, 95%)
CMYKcmyk(44.2%, 55.8%, 0%, 5.1%)
CIE-LABlab(54.11, 42.99, -64.43)
CIE-LCHlch(54.11, 77.45, 303.71°)
OKLaboklab(62.22% 0.0634 -0.1836)
OKLCHoklch(62.22% 0.194 289)
XYZxyz(31.2718, 22.0759, 86.6006)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876BF2 #D6F26B
analogous
#6B92F2 #876BF2 #CA6BF2
triadic
#876BF2 #F2876B #6BF287
tetradic
#876BF2 #F26B92 #D6F26B #6BF2CA
square
#876BF2 #F26B92 #D6F26B #6BF2CA
split-complementary
#876BF2 #F2CA6B #92F26B
monochromatic
#3A12D0 #5933ED #876BF2 #B5A3F7 #E2DCFC

Accessibility & contrast

On white

3.88
#876BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#876BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876BF2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876BF2#FFFFFF#000000##000000
##876BF21.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1984F7
Deuteranopia (green-blind)
#1E7EEF
Tritanopia (blue-blind)
#6689A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #876bf2;
/* rgb */ color: rgb(135, 107, 242);
/* oklch */ color: oklch(62.2% 0.194 289.0);
Tailwind
colors: {
  custom: {
    50: '#b096f7',
    500: '#876bf2',
    950: '#000000',
  },
}
SCSS
$custom: #876bf2;
$custom-light: #b096f7;
$custom-dark: #000000;
JSON
{
  "hex": "#876bf2",
  "rgb": {
    "r": 135,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 252.444,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.62221,
    "c": 0.19426,
    "h": 289
  },
  "luminance": 0.22077
}

Semantic roles & 50–950 ramp

primary
#876BF2
secondary
#E8F1C8
accent
#E005B3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #876BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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