#876BF8#876BF8

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

Color values

HEX#876BF8
RGBrgb(135, 107, 248)
HSLhsl(252, 91%, 70%)
HSVhsv(252, 57%, 97%)
CMYKcmyk(45.6%, 56.9%, 0%, 2.7%)
CIE-LABlab(54.49, 44.66, -67.14)
CIE-LCHlch(54.49, 80.64, 303.63°)
OKLaboklab(62.63% 0.0633 -0.1916)
OKLCHoklch(62.63% 0.202 288.3)
XYZxyz(32.1878, 22.4423, 91.4246)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876BF8 #DCF86B
analogous
#6B96F8 #876BF8 #CE6BF8
triadic
#876BF8 #F8876B #6BF887
tetradic
#876BF8 #F86B96 #DCF86B #6BF8CE
square
#876BF8 #F86B96 #DCF86B #6BF8CE
split-complementary
#876BF8 #F8CE6B #96F86B
monochromatic
#350BDE #5831F5 #876BF8 #B6A5FB #E6E0FE

Accessibility & contrast

On white

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

On black

5.49
#876BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #876BF8
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876BF8#FFFFFF#000000##000000
##876BF81.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FD
Deuteranopia (green-blind)
#057FF5
Tritanopia (blue-blind)
#638BA7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #876bf8;
/* rgb */ color: rgb(135, 107, 248);
/* oklch */ color: oklch(62.6% 0.202 288.3);
Tailwind
colors: {
  custom: {
    50: '#b196fb',
    500: '#876bf8',
    950: '#000000',
  },
}
SCSS
$custom: #876bf8;
$custom-light: #b196fb;
$custom-dark: #000000;
JSON
{
  "hex": "#876bf8",
  "rgb": {
    "r": 135,
    "g": 107,
    "b": 248
  },
  "hsl": {
    "h": 251.915,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.62628,
    "c": 0.20182,
    "h": 288.3
  },
  "luminance": 0.22444
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #876BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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