#876BF7#876BF7

#876BF7 is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 62.6% C 0.201 H 288.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#876BF7
RGBrgb(135, 107, 247)
HSLhsl(252, 90%, 69%)
HSVhsv(252, 57%, 97%)
CMYKcmyk(45.3%, 56.7%, 0%, 3.1%)
CIE-LABlab(54.43, 44.38, -66.69)
CIE-LCHlch(54.43, 80.11, 303.64°)
OKLaboklab(62.56% 0.0634 -0.1903)
OKLCHoklch(62.56% 0.201 288.4)
XYZxyz(32.0331, 22.3804, 90.6097)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876BF7 #DBF76B
analogous
#6B95F7 #876BF7 #CD6BF7
triadic
#876BF7 #F7876B #6BF787
tetradic
#876BF7 #F76B95 #DBF76B #6BF7CD
square
#876BF7 #F76B95 #DBF76B #6BF7CD
split-complementary
#876BF7 #F7CD6B #95F76B
monochromatic
#350CDC #5831F4 #876BF7 #B6A5FA #E5DFFD

Accessibility & contrast

On white

3.83
#876BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#876BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876BF7
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876BF7#FFFFFF#000000##000000
##876BF71.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0485FC
Deuteranopia (green-blind)
#0B7FF4
Tritanopia (blue-blind)
#648AA7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #876bf7;
/* rgb */ color: rgb(135, 107, 247);
/* oklch */ color: oklch(62.6% 0.201 288.4);
Tailwind
colors: {
  custom: {
    50: '#b196fb',
    500: '#876bf7',
    950: '#000000',
  },
}
SCSS
$custom: #876bf7;
$custom-light: #b196fb;
$custom-dark: #000000;
JSON
{
  "hex": "#876bf7",
  "rgb": {
    "r": 135,
    "g": 107,
    "b": 247
  },
  "hsl": {
    "h": 252,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6256,
    "c": 0.20056,
    "h": 288.4
  },
  "luminance": 0.22382
}

Semantic roles & 50–950 ramp

primary
#876BF7
secondary
#EBF3CB
accent
#E600B8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #876BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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